avanta icon

avanta

Consume avanta API

Actions57

Company - Contact → Link to Company

AI-generated

Overview

This node operation links a contact to a company within the Avanta system. It is useful in scenarios where you need to associate a contact entity with a specific company entity, such as managing customer relationships or organizing contact information by company. For example, when importing or updating contact data, this operation can establish the relationship between contacts and their respective companies automatically.

Use Case Examples

  1. Linking a newly imported contact to an existing company by external IDs.
  2. Associating multiple contacts to a company in bulk using the bulk API option.

Properties

Name Meaning
Request Options Options to customize the API request behavior, including debug mode, SSL certificate validation, and request timeout.
Use Bulk API Whether to use the bulk API for processing multiple items, improving efficiency for batch operations.
Dataflow ID Optional override for the dataflow ID, automatically read from webhook input if not set.
Contact External ID The external identifier of the contact to be linked to the company.
Customer ID The external identifier of the company to which the contact will be linked.
Store Group Name or ID The store group associated with the company-contact link, selectable from a list or specified by ID.

Output

JSON

  • linkedContactId - The ID of the contact that was linked to the company.
  • linkedCompanyId - The ID of the company to which the contact was linked.
  • status - The status of the linking operation, indicating success or failure.

Dependencies

  • An API key credential for authenticating with the Avanta API.

Troubleshooting

  • Ensure that the Contact External ID and Customer ID are correctly provided and correspond to existing entities in the Avanta system.
  • If using the bulk API, verify that the dataflow ID is correctly set or available from the webhook input to avoid processing errors.
  • Check SSL settings if connection issues occur, especially if ignoring SSL issues is disabled.
  • Enable debug mode to get detailed API request information for troubleshooting failed requests.

Discussion