MSG91
EmailConnect AI agents to MSG91. Agents send and verify one-time passwords, send transactional SMS and WhatsApp messages through approved templates, send transactional email, and check credit balances.
What This Integration Enables
An agent can send a one-time password to a mobile number from an approved template, validate the code the user entered against what MSG91 sent, and resend the most recent code as text or voice. This is the identity-verification loop that gates a signup or a transaction on a real number. For notifications, the agent sends SMS through an approved MSG91 Flow, sends a WhatsApp message from your integrated Business number using an approved template, and sends transactional email from a verified sending domain. MSG91 does not send free-form messages; every send goes through an approved Flow or template, which is what keeps delivery compliant and reliable. The agent also reads the remaining credit balance for a given route, so a flow can watch for low credit and act before sends fail. MSG91 exposes no event triggers in this integration, so flows start from the systems feeding it: a signup, an order, or a scheduled sweep. The agent is the bridge that turns those events into verified codes and template-driven notifications on the channel the customer watches.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Order Confirmation Across Channels
A store returns a placed order. The agent calls Send SMS to text the customer an order confirmation through an approved Flow, then Send WhatsApp Message for the shipment update. The customer hears about the order on the channel they check, driven entirely by approved templates.
Verified Signup
During a [HubSpot](/integrations/hubspot) Create Contact signup flow, the agent calls Send OTP to text a verification code, then Verify OTP to confirm the code before persisting the lead. A number that cannot receive or confirm a code never becomes a contact.
Low-Credit Alert
A scheduled flow calls Get Balance for the SMS route. When the balance drops below a set floor, the agent logs the figure to [Google Sheets](/integrations/google-sheets) Add Row and posts an alert to the ops channel with [Slack](/integrations/slack) Send Message To Channel, so credit is topped up before a send fails.
Human-in-Loop Highlight
A low credit balance is not a failure yet, but it is the moment before one: the next batch of sends could fail silently mid-flow. When Get Balance reports credit below the floor you set, the agent treats the top-up decision as a [human-in-the-loop](/concepts/human-in-the-loop/) step rather than pausing sends without telling anyone. It routes an alert to the ops team through Slack with the route, the remaining balance, and the recent send rate, and asks whether to top up or hold. The team decides with the full picture in front of them. The agent keeps messaging honest by surfacing the shortfall before it turns into dropped notifications.
Agent Capabilities
7 actionsOne-Time Passwords
3- Send OTP Sends a one-time password to a mobile number using an approved OTP template.
- Verify OTP Validates the code a user entered against the code MSG91 sent to their mobile number.
- Resend OTP Re-sends the most recent OTP to a mobile number, either as a text message or as a voice call.
Messaging
3- Send SMS Sends an SMS using an approved MSG91 Flow (template). MSG91 does not send free-form SMS text.
- Send WhatsApp Message Sends a WhatsApp message from your MSG91-integrated WhatsApp Business number using an approved template.
- Send Email Sends a transactional email through MSG91 Email using an approved email template from a verified sending domain.
Account
1- Get Balance Retrieves the remaining credit balance on your MSG91 account for a given route, so a flow can watch for low credit.
Start building with MSG91
$100 in credits. No card required. Connect in minutes.