Actions116
- š¬ Chats Actions
- š¤ Contacts Actions
- š„ļø Sessions Actions
- š Profile Actions
- š¼ļø Screenshot Actions
- š¤ Chatting Actions
- š¢ Channels Actions
- š¢ Status Actions
- š„ Groups Actions
- Add Participants
- Demote To Admin
- Create Group
- Get Groups
- Join Info Group
- Join Group
- Refresh Groups
- Get Group
- Delete Group
- Leave Group
- Get Chat Picture
- Set Picture
- Delete Picture
- Set Description
- Set Subject
- Set Info Admin Only
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Remove Participants
- Promote To Admin
- ā Presence Actions
- š·ļø Labels Actions
- š Observability Actions
- š Auth Actions
Overview
This node operation sends a poll message to a specified chat session. It is useful for gathering feedback or opinions from chat participants by presenting them with a question and multiple answer options. For example, a user can send a poll asking "How are you?" with options like "Awesome!", "Good!", and "Not bad!" to a chat group or individual.
Use Case Examples
- Sending a poll to a customer support chat to gather satisfaction feedback.
- Creating a quick survey in a team chat to decide on a meeting time.
Properties
| Name | Meaning |
|---|---|
| Session | The chat session identifier to which the poll will be sent. |
| Chat Id | The identifier of the chat where the poll will be posted. |
| Reply To | The ID of the message to which this poll is a reply, allowing threaded conversations. |
| Poll | The poll content including the question (name), answer options, and whether multiple answers are allowed. |
| Request Options | Additional settings for the request such as batching, SSL validation, proxy, and timeout. |
Output
JSON
messageId- The unique identifier of the sent poll message.status- The status of the poll sending operation (e.g., success or failure).pollDetails- Details of the poll sent, including question and options.
Dependencies
- Requires an API key or authentication token for the chat service to send messages.
Troubleshooting
- Ensure the session and chatId are correctly specified and valid to avoid message sending failures.
- If the poll JSON is malformed, the node will fail to send the poll; validate the JSON structure before sending.
- Network issues or proxy misconfiguration can cause request failures; verify proxy settings and network connectivity.
- If SSL validation is disabled, be aware of potential security risks when accepting insecure certificates.