WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Contact → Get Many

AI-generated

Overview

This node operation retrieves multiple contacts from a WasenderAPI session. It supports fetching all contacts or a limited number of contacts with pagination options. This is useful for scenarios where you need to manage or analyze contact lists from WhatsApp sessions, such as syncing contacts to a CRM, performing bulk messaging, or data analysis.

Use Case Examples

  1. Fetch all contacts from a specific WhatsApp session to sync with a CRM system.
  2. Retrieve a limited number of contacts for batch processing or targeted messaging campaigns.

Properties

Name Meaning
Session Selects the WhatsApp session from which to retrieve contacts. It can be selected from a list or specified by ID. If not set, the session from the incoming item is used automatically.
Auto Selected Session ID Automatically uses the session ID from the incoming item if available.
Has Auto Selected Session Indicates whether a session ID is automatically selected from the incoming item.
Return All Determines whether to return all contacts or limit the number of results.
Limit Specifies the maximum number of contacts to return when 'Return All' is false.
Page Specifies the page number of results to return when 'Return All' is false.
Options Additional request options such as retry behavior and maximum retry attempts for API requests.

Output

JSON

  • items - Array of contact objects retrieved from the WasenderAPI session.

Dependencies

  • WasenderAPI service with an API key credential

Troubleshooting

  • Ensure a valid session ID is provided either via the node parameter or incoming item; otherwise, the node will throw a 'Session is required' error.
  • If the API request fails due to rate limiting or server errors, the node will retry based on the configured retry options.
  • Invalid JSON in input parameters or missing required fields may cause errors; verify input data correctness.

Links

Discussion