Decogro icon

Decogro

Decogro integration for n8n

Contact → Get Contacts

AI-generated

Overview

This node integrates with the Decogro API to manage contacts. Specifically, the 'Get Contacts' operation retrieves a list of contacts from Decogro, supporting pagination and optional search filtering. It is useful for workflows that need to fetch contact information for further processing, reporting, or synchronization with other systems.

Use Case Examples

  1. Retrieve a list of contacts with a limit of 20 and an offset of 0 to display the first page of contacts.
  2. Search contacts by name or email to find specific contacts matching the search term.

Properties

Name Meaning
Limit Number of contact items to return, with a minimum of 1 and a maximum of 100.
Offset Number of contact items to skip, used for pagination, minimum value is 0.
Search Optional search term to filter contacts by name, email, or contact ID.

Output

JSON

  • operation - The operation performed, e.g., 'getContacts'.
  • data - The array or object containing the retrieved contacts data from Decogro.
  • metadata
    • method - HTTP method used for the API request, typically 'GET'.
    • endpoint - API endpoint used for the request, e.g., 'contact'.
    • timestamp - Timestamp when the request was made.
    • limit - The limit parameter used in the request, indicating number of items requested.
    • offset - The offset parameter used in the request, indicating number of items skipped.
    • page - The calculated page number based on limit and offset.

Dependencies

  • Decogro API with API key authentication

Troubleshooting

  • Ensure the API key credential is correctly configured and has the necessary permissions to access contacts.
  • If no contacts are returned, verify the search term and pagination parameters are correct.
  • Invalid JSON errors do not apply to this operation as it uses GET requests without a body.
  • Check network connectivity and Decogro API status if requests fail with network errors.

Links

Discussion