Automated Address Validation with Billbee & Endereco API in n8n

This workflow automates client shipping address validation using Billbee and the Endereco API, tackling incorrect addresses and saving warehouse teams valuable time. It ensures corrected delivery details are updated automatically, reducing costly shipping errors.
httpRequest
splitOut
set
+5
Workflow Identifier: 1927
NODES in Use: httpRequest, splitOut, set, if, filter, wait, webhook, stickyNote
Automate address validation with n8n and Billbee

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow automatically checks and fixes shipping addresses from Billbee orders. It gets order data, cleans up the address fields, and sends them to the Endereco API to validate. If the address has mistakes, it corrects them and updates Billbee orders. It also tags orders based on validation results.

This stops shipment errors caused by wrong addresses, saves time spent on manual fixes, and helps handle address problems before shipping.


Who should use this workflow

This is for businesses using Billbee to manage orders and shipping. If manual address checking wastes time and leads to shipment mistakes, this workflow helps fix that.

It suits teams wanting automatic address validation and clear order tagging inside Billbee.


Tools and services used

  • Billbee API: To fetch and update order shipping address data.
  • Endereco API: To validate and correct addresses.
  • n8n automation platform: Orchestrates the whole process with nodes like webhook, HTTP Request, Set, Filter, If, Split Out, and Wait nodes.

Inputs, processing, and outputs

Inputs

  • Billbee order ID received from webhook trigger.
  • Billbee API keys for authentication.
  • Endereco API Key for address validation.

Processing steps

  • Webhook node catches new order ID.
  • ConfigNode sets API keys and extracts order ID.
  • Wait node delays for 1 second to keep flow stable.
  • HTTP Request calls Billbee to get full order details.
  • Split Out node extracts shipping address fields like first name, last name, street, house number, ZIP code, city, and country code.
  • Set node cleans address fields and replaces unnecessary slashes in house numbers.
  • Filter node removes orders with pickup locations such as “Postfiliale”, “Packstation”, and “Paketshop”.
  • If and Set nodes check if house number is missing and try to get house number from address line 2.
  • HTTP Request node sends address data to Endereco API to validate.
  • If node checks if API returns a corrected address suggestion.
  • If correction found, Split Out node processes new address.
  • HTTP Request updates Billbee order with corrected shipping address.
  • HTTP Request nodes add tags to Billbee order reflecting address validation status (valid, failed, manual review).
  • Wait nodes added between key steps to avoid race conditions.

Outputs

  • Billbee orders with validated and corrected shipping addresses.
  • Order tags marking validation passed, failed, or needs manual checks.
  • Significant saving in manual address verification time.

Beginner step-by-step: How to build this in n8n

Import and setup workflow

  1. Download the workflow using the Download button on this page.
  2. Inside the n8n editor, import the workflow using Import from File.
  3. Open the imported workflow and find the ConfigNode. Put in your Billbee API Key under X-Billbee-Api-Key and your Endereco API Key under X-Auth-Key-Endereco.
  4. Check that the Webhook node has the correct path and is active. This URL will be used in Billbee automation.

Adjust settings if needed

  1. If your Billbee orders use different tags, update them in the HTTP Request nodes that post tags.
  2. Change any IDs, emails, or other info in nodes to match your Billbee setup.

Test and activate

  1. Trigger the webhook using a test order ID to see if the flow runs and updates addresses.
  2. Check API responses from Billbee and Endereco for any errors.
  3. When tests look good, activate the workflow toggle switch for production use.
  4. Set your Billbee automation rule to call this webhook URL with order ID on new or updated orders.

If self hosting n8n is preferred, use a trusted provider like self-host n8n.


Edge cases and failures

If the Billbee API shows “401 Unauthorized”, the API keys are incorrect or expired. Fix API keys in the ConfigNode.

If Endereco API gives empty address corrections, likely address fields were wrong or incomplete. Check the address cleaning in the Set node.

If orders get tagged “manual_address_check” too often, the house number regex logic may need adjusting in the If nodes that check address line 2.


Customization ideas

  • Change tag names across HTTP Request nodes to fit your tracking system.
  • Add extra address parts like NameAddition and AddressLine2 for more detail.
  • Include more pickup keywords in the filter node to skip validation on picking station addresses.
  • Modify Wait node times to better match your API limits and speed requirements.
  • Implement logic to set Endereco API language dynamically based on country codes.

Summary of results

✓ Saves over 10 hours weekly by avoiding manual address fixes.

✓ Fixes shipping address mistakes before they cause delays.

✓ Keeps order status clear in Billbee with validation tags.

✓ Automates address correction for better shipment accuracy.


Automate address validation with n8n and Billbee

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow receives the Billbee order ID via a webhook and uses Billbee API to fetch the full shipping address.
If the API suggests a correction, the workflow updates the shipping address in Billbee automatically.
Yes, it filters out addresses containing keywords like “Packstation” or “Paketshop” to avoid validating pickup locations.
Review and adjust the logic in the If nodes that detect house numbers especially in address line 2 to improve accuracy.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.