Merchants on Gupshup can now create Authentication templates for one-time passwords (OTP) and send them from an External API Trigger automation. Your system asks for a code, and DelightChat delivers it on WhatsApp.
Authentication is a new template category in Message Templates. WhatsApp sets the message text and the Copy code button, so there is nothing to write. The message reads "{{1}} is your verification code", and the code is filled in each time you send. Custom message text, headers, footers, buttons and cards are not available for this category.
You can set two optional limits: how long a code stays valid (1 to 90 minutes) and how long WhatsApp keeps trying to deliver the message (30 to 900 seconds).
Authentication templates work only in External API Trigger automations. They do not appear in the template lists for Shopify triggers, Shopify Flow, broadcasts or the inbox. The Authentication category is offered only for Gupshup WhatsApp channels.
Send the current code in every request. DelightChat does not retry an OTP message with an old code, so to resend, send a new request with a fresh code.
Related setup: Custom Use Cases with WhatsApp Marketing API explains how to create an External API Trigger automation and build the API request. It does not cover Authentication templates.