WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Campaigns → Get Campaign

AI-generated

Overview

The node integrates with the WaliChat WhatsApp API to manage campaigns among many other resources. Specifically, the Get Campaign operation retrieves detailed information about a single campaign by its unique ID. This is useful for scenarios where you want to fetch the current status, metadata, or statistics of a specific marketing or communication campaign managed via WaliChat.

Practical examples include:

  • Fetching campaign details before updating or analyzing performance.
  • Retrieving campaign info to display in dashboards or reports.
  • Validating campaign existence before sending messages or adding contacts.

Properties

Name Meaning
Campaign ID The unique identifier of the campaign to retrieve. This is a required string input.

Output

The output is a JSON object containing the full details of the requested campaign as returned by the WaliChat API. This typically includes fields such as campaign name, status, creation date, message counts, and other metadata relevant to the campaign.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n for authentication.
  • The node depends on the campaigns action module from the bundled source to perform campaign-related operations.

Troubleshooting

  • Common issues:

    • Invalid or missing Campaign ID will cause errors or empty responses.
    • Authentication failures if the API key is incorrect or expired.
    • Network connectivity problems to the WaliChat API endpoint.
  • Error messages:

    • "Campaign not found": Verify the Campaign ID is correct and exists.
    • "Authentication failed": Check that the API key credential is properly set up.
    • Timeout or network errors: Ensure stable internet connection and API availability.

Resolving these usually involves verifying input parameters, credentials, and network status.

Links and References

Discussion