Create a WhatsApp template in AiSensy
Go to Manage → Template Message and click Create Template. Every WhatsApp message you send through this integration uses a template that Meta has approved. New to AiSensy? Sign up for free.

Fill in the template details
Pick the category, language and template type, give the template a name and type your message. Add variables like {{1}} and {{2}} wherever the message should change for each customer, such as their name or a link. For example, name it xtreme_call_followup and use {{1}} for the customer name and {{2}} for a link to the details you discussed.

Add sample values and submit
Add a sample value for every variable so Meta can review the template, then click Submit. Approval usually takes a few minutes to a few hours. Once approved, the template is ready to use in campaigns.

Launch an API campaign
Go to Campaigns, click Launch and click Next under API Campaign. An API campaign lets another tool trigger your WhatsApp template automatically.

Name your campaign
Type a campaign name, for example Xtreme Call Followup. Note it down exactly as you typed it, because you will enter the same name in Xtreme Gen AI later.

Pick the template and set it live
Select the approved template you created and click Set Live. Your API campaign is now ready to receive triggers.

Copy your Project API Key
In AiSensy, open Developer and select the Project API Keys tab. Use a valid key or click + Generate Key. You will paste it as the xKey (API Password) in Xtreme Gen AI. Keep your AiSensy Project ID ready too, or ask AiSensy support on Live Chat for it.

Open WhatsApp Automation in Xtreme Gen AI
Log in to Xtreme Gen AI, click AiSensy in the left menu, pick your business and click Integrate AiSensy.

Connect your agent and fetch templates
Choose the Voice AI Agent for this use case, paste your Project ID and xKey and click Fetch Templates. Then pick the approved template from your API campaign.

Enable and save the integration
Add your WhatsApp prompt for the agent, switch the status to Integration is Enabled and click Save Integration, or Update if you are editing it.

Select the campaign in your workflow and test
Open your Xtreme Gen AI workflow, open its WhatsApp (AiSensy) step, refresh the campaign list and select your API campaign. Trigger a test with your own number and check Sent and Delivered in AiSensy.
