This plugin simplifies the process of connecting the Turn platform to your SurveyCTO forms, allowing you to send WhatsApp template messages effortlessly. It enables you to send pre-approved template messages to WhatsApp users, facilitating friendly reminders and promoting interaction with your WhatsApp service. This engagement, in turn, enhances participant engagement and improves data quality.
Key | Value |
---|---|
phoneNumber |
This is the phone number that will receive the WhatsApp template message. |
countryCode |
This is the country code for the phone number. It will be automatically added to the phone number when sending a message on WhatsApp using that specific form. For example, it could be 91 or 880 . |
apiUrl |
This is the URL of the API endpoint that will be invoked to send the WhatsApp message. |
apiToken |
This is the authentication token for the Turn Account associated with the WhatsApp Line where the template is located. |
whatsappNamespaceId |
This is the WhatsApp Namespace ID where the template message is located. |
whatsappTemplateId |
This is the WhatsApp Template Message ID, which will be used for sending a message to the user on WhatsApp. |
language |
This language code specifies the language in which the template message should be sent. |
To access all Turn API credentials, follow these steps:
- Navigate to the Settings page.
- Click on the 'API & Webhooks' tab.
- Scroll down to the 'Authentication Tokens for X Whatsapp Line' section.
- Locate and click the 'Create a Token' button.
- Set the name for the token as 'SCTO WA Nudge Plugin.'
- Ensure you set an expiry date well into the future to prevent it from expiring during the SurveyCTO survey's active period.
- The value you'll obtain here will be used for
apiToken
field.