Decogro icon

Decogro

Decogro integration for n8n

Contact → Add Contact Address

AI-generated

Overview

This node integrates with the Decogro API to add an address to an existing contact. It is useful for scenarios where you need to programmatically manage contact addresses within Decogro, such as adding shipping or billing addresses to customer contacts. For example, you can automate the process of updating customer records with new addresses received from an external system or form submission.

Use Case Examples

  1. Adding a new home address to a contact in Decogro using JSON data.
  2. Automating the update of default shipping and billing addresses for contacts.

Properties

Name Meaning
Contact ID The ID of the contact to add an address to, used to specify which contact the address will be associated with.
JSON Body The JSON data representing the address details to be added to the contact, including fields like company name, contact name, address lines, city, state, zip, country, and flags for default shipping or billing address.

Output

JSON

  • operation - The operation performed, e.g., addContactAddress.
  • data - The response data returned from the Decogro API after adding the contact address.
  • metadata
    • method - The HTTP method used for the request, typically POST.
    • endpoint - The API endpoint used for the request.
    • timestamp - The timestamp when the request was made.

Dependencies

  • Requires an API key credential for Decogro API authentication.

Troubleshooting

  • Ensure the Contact ID provided exists in Decogro; otherwise, the API will return an error.
  • Validate the JSON Body format to avoid JSON parsing errors; invalid JSON will cause the node to throw an error.
  • Check API key validity and permissions if authentication errors occur.
  • If the node fails with a network or HTTP error, verify the base URL and network connectivity.

Links

Discussion