# Msg91 AI integration on Definable

> MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.

## What this connects

MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.

Vendor: https://control.msg91.com/signin/

## Tools available

**8** tools available. First 8:

- `MSG91_CREATE_USER_EVENTS` — Create User Events — Create and track user events in MSG91 Segmento for customer behavior analysis and segmentation. Use this tool to record user actions and behaviors such as logins, purchases, page views, button clicks, or any custom events. These events help build user profiles and enable targeted campaigns based on user behavior. Examples: - Track user login events for engagement analysis - Record purchase events with product details for sales tracking - Log page views and clicks for behavior analytics - Capture custom events with properties for detailed segmentation
- `MSG91_GET_EVENT_TYPES` — Get Event Types — Retrieves all event types configured in MSG91 Segmento. Event types represent different user actions and behaviors that can be tracked (e.g., purchases, signups, page views). Use this action to discover what events are available for tracking user behavior in your Segmento account. No parameters required - returns all event types.
- `MSG91_GET_FAILED_EVENTS` — Get Failed Events — Retrieve failed user events from a MSG91 Segmento campaign. This tool fetches events that failed to process during campaign execution, helping you identify and debug issues such as validation errors, invalid recipients, or missing required data. Use this when you need to: - Investigate why certain events didn't process successfully - Get detailed failure reasons for troubleshooting - Monitor campaign health and identify patterns in failures - Retrieve failed events within a specific date range Results are paginated for large datasets. Requires a valid campaign_id from a Segmento campaign.
- `MSG91_LIST_CAMPAIGNS` — List Campaigns — Tool to list all campaigns in Segmento. Use when you need to retrieve campaigns with pagination support.
- `MSG91_RESEND_OTP` — Resend OTP — Resend OTP to the same mobile number via text message or voice call. Use when the original OTP was not received or expired, and the user needs a new code sent to the same number.
- `MSG91_SEND_OTP` — Send OTP — Tool to send OTP (One-Time Password) to a mobile number using a pre-configured MSG91 template. Use when you need to verify user phone numbers for authentication, account registration, password reset, or transaction confirmation.
- `MSG91_SEND_SMS_V5` — Send SMS via Flow (V5) — Send SMS messages using pre-defined templates via MSG91 Flow API v5. Use when you need to send template-based SMS with dynamic variable substitution to single or multiple recipients. Templates must be created and approved in MSG91 dashboard before use.
- `MSG91_VERIFY_OTP` — Verify OTP — Tool to verify an OTP (One-Time Password) sent to a mobile number. Use when you need to confirm that the OTP code entered by the user matches the one sent via Send OTP API.

## Auth

Auth schemes: `API_KEY`.

## How agents use Msg91

Inside a Definable workflow, Msg91 is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Msg91** — the Researcher (GPT-5.5) pulls context from Msg91 (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Msg91** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Msg91 (create record, post message, draft email).
- **Designer / Engineer → Distributor → Msg91** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Msg91 (attach file, open PR comment, post status).

The Verifier checks every Msg91 call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- communication — https://definable.ai/apps/category/communication/
- phone & sms — https://definable.ai/apps/category/phone-&-sms/

## Related

- HTML page: https://definable.ai/apps/msg91/
- Same category (communication): https://definable.ai/apps/category/communication/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
