Poli icon

Poli

Node principal para interagir com a API da Poli

Template → Send Template Message By Phone Number

AI-generated

Overview

This node operation sends a template message to a specified phone number using the Poli API. It is useful for automating communication via predefined message templates, such as notifications, alerts, or marketing messages, directly to a user's phone number in E.164 format.

Use Case Examples

  1. Sending a welcome message template to a new user by their phone number.
  2. Sending appointment reminders using a predefined template to clients via phone.

Properties

Name Meaning
Account UUID The unique identifier of the account from which the template message will be sent.
Phone The recipient's phone number in E.164 format to which the template message will be sent.
Account Channel UUID The unique identifier of the account channel used to send the template message.
Template UUID The unique identifier of the message template to be sent.
Header Parameters A collection of parameters to customize the header of the template message. Each parameter has a type (text or date/time) and a value.
Body Parameters A collection of parameters to customize the body of the template message. Each parameter has a type (text or date/time) and a value.

Output

JSON

  • messageId - The unique identifier of the sent template message.
  • status - The status of the message sending operation (e.g., sent, failed).
  • timestamp - The timestamp when the message was sent.

Dependencies

  • Poli API with appropriate API key credentials

Troubleshooting

  • Ensure all required UUIDs (Account UUID, Account Channel UUID, Template UUID) and the phone number are correctly provided and valid.
  • Verify the phone number is in the correct E.164 format to avoid sending errors.
  • Check API credentials and permissions to ensure the node can access the Poli API and send messages.
  • Common error messages may include invalid UUIDs, unauthorized access, or message sending failures. Verify the error details and correct the input or credentials accordingly.

Discussion