avanta icon

avanta

Consume avanta API

Actions57

Company - Contact → Link to Sales Org

AI-generated

Overview

This node operation links a company contact to a sales organization within the Avanta API. It is useful for associating contacts with specific sales organizations to manage relationships and data flow between these entities. For example, a user can link a contact identified by an external ID to a sales organization identified by its external ID, optionally specifying a store group for more granular association.

Use Case Examples

  1. Linking a contact to a sales organization to synchronize contact data with sales operations.
  2. Associating multiple contacts with different sales organizations in bulk using the bulk API option.

Properties

Name Meaning
Request Options Options to customize the API request such as enabling debug mode, ignoring SSL certificate issues, and setting a timeout for the request.
Use Bulk API Whether to use the bulk API for processing multiple items, enabling 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.
Sales Org External ID The external identifier of the sales organization to link the contact to.
Store Group Name or ID The store group to associate with the link, selectable from a list or via expression.

Output

JSON

  • linkedContactId - The ID of the contact that was linked to the sales organization.
  • linkedSalesOrgId - The ID of the sales organization to which the contact was linked.
  • status - The status of the link operation, indicating success or failure.

Dependencies

  • Avanta API with appropriate API key credentials

Troubleshooting

  • Ensure that the Contact External ID and Sales Org External ID are correctly provided and exist in the Avanta system to avoid linking errors.
  • If using the bulk API, verify that the dataflow ID is correctly set or available from the webhook input to prevent processing failures.
  • Enable Debug Mode to get detailed API request information if the operation fails to diagnose issues.
  • If SSL certificate validation errors occur, consider enabling the option to ignore SSL issues, but be aware of the security implications.

Discussion