OmniFlow icon

OmniFlow

Consume OmniFlow API

Actions20

Overview

This node integrates with the OmniFlow API to manage relationships between companies and contacts, specifically allowing users to add or remove contacts from companies. The "Company Contact" resource with the "Add" operation enables associating an existing contact with a specified company.

Common scenarios include:

  • Linking a new or existing contact to a company record in OmniFlow for CRM purposes.
  • Automating the management of company-contact relationships in workflows that synchronize data between systems.
  • Organizing contacts under companies for targeted marketing or sales campaigns.

For example, after creating a contact in another system, you can use this node to add that contact to a specific company in OmniFlow automatically.

Properties

Name Meaning
Authentication Method of authentication to use: either "Credentials" (API key) or "OAuth2"
Contact ID The unique identifier of the contact to be added to the company
Company ID The unique identifier of the company to which the contact will be added

Output

The node outputs JSON data representing the result of the add operation. Typically, this includes the updated company or contact information as returned by the OmniFlow API. The output is structured as an array of JSON objects, each corresponding to an input item processed.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the OmniFlow API.
  • Requires valid authentication credentials configured in n8n, either via API key credentials or OAuth2.
  • The node uses internal helper functions to make HTTP requests to OmniFlow endpoints.

Troubleshooting

  • Invalid Contact ID or Company ID: If the provided IDs do not exist or are incorrect, the API call will fail. Verify the IDs before running the node.
  • Authentication Errors: Ensure that the API key or OAuth2 token is correctly set up and has sufficient permissions.
  • API Rate Limits or Network Issues: Temporary failures may occur due to rate limiting or connectivity problems; retrying might help.
  • Error Messages: The node throws errors if the API response contains errors. The error message will typically indicate the cause, such as missing parameters or invalid IDs.

Links and References

Discussion