Actions6
- Account Actions
- Message Actions
- OTP / Token Actions
- Sender ID Actions
OTP / Token → Send Token
AI-generatedSummary
Generates and sends a Termii OTP to a recipient using the configured message, PIN settings, and delivery channel. Requires Termii API credentials, including the account base URL and API key.
Inputs
- PIN Type (required) — Choose whether the generated PIN contains numbers only or letters and numbers; defaults to Numeric.
- Message Type (required) — Set Termii’s message_type value to Numeric or Alphanumeric; defaults to Numeric.
- To (required) — Recipient phone number in international format.
- Sender ID (required) — Approved Termii sender ID.
- Channel (required) — Choose the OTP delivery route: DND or Generic; defaults to DND.
- PIN Attempts (required) — Number of attempts allowed before the PIN expires; minimum 1, default 3.
- PIN Time to Live (required) — PIN validity period in minutes, from 0 to 60; defaults to 1.
- PIN Length (required) — Generated PIN length, from 4 to 8 characters; defaults to 4.
- PIN Placeholder (required) — Text in the message that Termii replaces with the generated PIN.
- Message Text (required) — Message content to send with the PIN placeholder.
Output shape
A list of n8n items containing Termii’s response for each input item.
Object and array responses are returned as-is; a primitive response is wrapped in an object under result. If Continue On Fail is enabled, a failed input item returns an item with an error field.