Skip to main content

Automatically correct wrong shipping addresses in Billbee orders

Workflow preview

Workflow preview
100%
Automatically correct wrong shipping addresses in Billbee orders preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Address Validation Workflow About This workflow automates the process of validating and correcting client shipping addresses in Billbee, ensuring accurate delivery information. It's ideal for e com...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.set, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.stickynote, n8n-nodes-base.filter, n8n-nodes-base.webhook

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Simon.

Original n8n.io source

1.1 Workflow description

Title
Automatically correct wrong shipping addresses in Billbee orders
Workflow name
Automatically correct wrong shipping addresses in Billbee orders

Address Validation Workflow

About

This workflow automates the process of validating and correcting client shipping addresses in Billbee, ensuring accurate delivery information. It's ideal for e-commerce businesses looking to save time and reduce errors in their order fulfillment process. The workflow uses Billbee, an order management platform for small to medium-sized online retailers, and the Endereco API for address validation.

Who Is This For?

  • E-Commerce Businesses: Streamline order fulfillment by automatically correcting common shipping address errors.
  • Warehouse Teams: Reduce manual work and ensure packages are shipped to the correct address.
  • Small to Medium-Sized Retailers: Businesses using Billbee to manage orders and requiring efficient, automated solutions for address validation.

How it Works

  1. Trigger: Workflow starts via a Billbee Webhook when an order is imported.
  2. Fetch Data: Retrieve the client's shipping address using the Order ID.
  3. Validate Address: Send the address to the Endereco API for validation and correction (e.g., house number errors).
  4. Conditional Actions:
    • Valid Address: Update the address in Billbee.
    • Invalid Address: Tag the order with "Validation Error."
  5. Track Status: Add tags in Billbee for processed orders.

Setup Steps

  1. API Keys: Obtain Billbee Developer/User API Keys and Endereco API Key.
  2. Billbee Rule: Create an automation rule:
    • Trigger: Order imported.
    • Action: Call External URL with OrderId to trigger n8n workflow.
  3. Optional: Use a secondary trigger (e.g., order state changes to "gepackt") for manual corrections.

Customization Options

  1. Filter Delivery Addresses:

    • Customize filters to exclude specific delivery types, such as pickup shops ("Postfiliale," "Paketshop," or "Packstation").
    • Filters can be adjusted within Billbee or in the workflow.
  2. Error Handling:

    • Configure additional actions for orders that fail validation, such as notifying your team or flagging orders for manual review.
  3. Order Tags:

    • Define custom tags in Billbee to better track order statuses (e.g., "Address Corrected," "Validation Error").
  4. Trigger Types:

    • Use additional triggers such as changes to order states (e.g., "gepackt" or "In Fulfillment") for manual corrections or validations.
  5. Address Fields:

    • Modify the workflow to focus on specific address components, such as postal codes, city names, or country codes.
  6. Validation Rules:

    • Adjust Endereco API settings or add custom logic to refine validation criteria based on your business needs.

API Documentation

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - get order data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 2 - Split Out Order Data

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 3 - Set Address Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.3

Block 4 - Check Address endereco api

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Split Out Corrected Address

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 6 - set new delivery address to billbee

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 7 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - check if new address is not empty

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 10 - set billbee tag

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - check if housenumer is not empty

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 16 - check if addressline 2 contains number

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 17 - Filter

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - set value of addressline2 as housenumber

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 20 - Filter Out PickUpShops

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 21 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - check if addressline 2 contains number and letter

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 23 - set billbee tag manual check

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 24 - set value of addressline2 as housenumber number+letter

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automatically correct wrong shipping addresses in Billbee orders
Complexity advanced
Nodes 31
Categories CRM
Author Simon
Published 05 Dec 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2609/2609.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automatically correct wrong shipping addresses in Billbee orders do?

Address Validation Workflow About This workflow automates the process of validating and correcting client shipping addresses in Billbee, ensuring accurate delivery information. It's ideal for e com...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.