AiSensy icon

AiSensy

Interact with AiSensy WhatsApp API

Overview

This node interacts with the AiSensy WhatsApp API to perform operations related to WhatsApp campaigns. Specifically, the 'Fetch Campaigns' operation allows users to retrieve details of a selected campaign and configure template parameters for that campaign. This is useful for users who want to dynamically fetch campaign information and prepare message templates with parameters before sending messages. For example, a marketing automation workflow can use this node to fetch campaign details and customize message templates based on user input or other data sources.

Use Case Examples

  1. Fetch details of a specific WhatsApp campaign to display its template parameters and sample text for further processing or user review.
  2. Prepare template parameters dynamically for a selected campaign before sending personalized WhatsApp messages.

Properties

Name Meaning
Campaign Select the campaign to use for fetching details and template parameters.
Parameter 1 Value for template parameter {{1}} used in the campaign message template.
Parameter 2 Value for template parameter {{2}} used in the campaign message template.
Parameter 3 Value for template parameter {{3}} used in the campaign message template.
Parameter 4 Value for template parameter {{4}} used in the campaign message template.
Parameter 5 Value for template parameter {{5}} used in the campaign message template.

Output

JSON

  • campaignId - ID of the selected campaign.
  • campaignName - Name of the selected campaign.
  • templateName - Name of the message template used in the campaign.
  • status - Current status of the campaign.
  • audienceSize - Number of recipients targeted by the campaign.
  • campaignType - Type of the campaign template.
  • totalParameters - Total number of template parameters defined in the campaign.
  • templateParameters - Array of values provided for the template parameters.
  • templateText - Text content of the message template.
  • sampleText - Sample text of the message template for preview.
  • campaignDetails - Full details of the campaign object as returned by the API.

Dependencies

  • AiSensy API with project ID credential

Troubleshooting

  • Common issues include selecting a campaign ID that does not exist or is not accessible, resulting in an error 'Selected campaign not found'. Verify the campaign ID and ensure the API credentials have access to the project campaigns.
  • API request failures due to network issues or invalid credentials can cause errors. Check the API key credential and network connectivity.
  • If template parameters are not provided correctly, the message template may not render as expected. Ensure parameters match the template requirements.

Links

Discussion