Actions20
Lead → Get Many
AI-generatedOverview
The node integrates with the Reachkit API to manage and retrieve lead data associated with marketing campaigns. Specifically, the "Lead" resource with the "Get Many" operation allows users to fetch multiple leads from a specified campaign. This is useful for scenarios such as analyzing lead lists, exporting lead data for further processing, or integrating lead information into other workflows.
Practical examples include:
- Retrieving all leads from a particular campaign to feed into a CRM system.
- Fetching a limited number of leads for quick reporting or dashboard updates.
- Searching leads within a campaign by keywords to filter relevant contacts.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign from which to retrieve leads. |
| Return All | Whether to return all available leads or limit the results to a specific number. |
| Limit | The maximum number of leads to return when not returning all (minimum 1, maximum 100). |
| Additional Fields | Optional parameters including: |
| - Page | The page number of results to retrieve (for pagination). |
| - Search | A search term to filter leads based on matching criteria. |
Output
The node outputs JSON data representing the retrieved leads. Each item in the output corresponds to a lead object containing details as provided by the Reachkit API for that campaign. The structure typically includes lead attributes such as identifiers, contact information, status, and any other metadata returned by the API.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the Reachkit API.
- The node sends requests to the base URL
https://reachkit.ai/api/v1. - Proper configuration of the API key credential within n8n is necessary for successful operation.
Troubleshooting
Common Issues:
- Invalid or missing Campaign ID will result in errors or empty responses.
- Exceeding the allowed limit (more than 100) will likely cause request failures.
- Network or authentication issues may prevent data retrieval.
Error Messages:
- Authentication errors indicate problems with the API key; verify the credential setup.
- Pagination errors may occur if the page number is out of range; adjust accordingly.
- If no leads are found, ensure the campaign ID is correct and that leads exist for it.
Links and References
- Reachkit API Documentation (hypothetical link for reference)
- n8n documentation on Creating Custom Nodes