Actions116
- 💬 Chats Actions
- 👤 Contacts Actions
- 👥 Groups Actions
- Get Info Admin Only
- Set Messages Admin Only
- Get Messages Admin Only
- Get Invite Code
- Revoke Invite Code
- Get Participants
- Add Participants
- Remove Participants
- Promote To Admin
- 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
- 🖥️ Sessions Actions
- 🆔 Profile Actions
- 🖼️ Screenshot Actions
- 📤 Chatting Actions
- 📢 Channels Actions
- 🟢 Status Actions
- ✅ Presence Actions
- 🏷️ Labels Actions
- 🔍 Observability Actions
- 🔑 Auth Actions
Overview
This node sends a voice status update in a messaging or communication platform. It allows users to specify a session, upload an audio file as the voice status, and optionally target specific contacts. The node supports customization of the background color for the status and includes advanced request options such as batching, SSL handling, proxy configuration, and timeout settings. This node is useful for automating the sharing of voice statuses in workflows, for example, sending a voice message update to a group of contacts or broadcasting a voice status in a session.
Use Case Examples
- Sending a voice status update with a custom audio file to a predefined session.
- Broadcasting a voice status to a list of contacts with a specific background color.
- Using batching to send voice statuses in controlled intervals to avoid rate limits.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session in which the voice status will be sent. This is a required string input. |
| File | The audio file to be sent as the voice status. It must be provided as a JSON object containing the mimetype and URL of the audio file. This is a required input. |
| Contacts | An optional JSON list of contacts to whom the voice status will be sent. If not provided, the status may be sent to the session generally. |
| Background Color | A string representing the background color for the voice status display. This is a required input and defaults to '#38b42f'. |
| Request Options | Advanced settings for the request such as batching (splitting requests into batches with configurable size and interval), ignoring SSL certificate issues, proxy settings, and request timeout in milliseconds. |
Output
JSON
statusId- Identifier of the sent voice status.session- The session name where the status was sent.filemimetype- MIME type of the audio file sent.url- URL of the audio file sent.
contacts- List of contacts to whom the status was sent.backgroundColor- Background color used for the voice status.timestamp- Timestamp when the voice status was sent.
Dependencies
- Requires an API key or authentication token to connect to the messaging platform's API for sending voice statuses.
Troubleshooting
- Ensure the session name is correctly specified and active; otherwise, the status may fail to send.
- Verify the audio file URL is accessible and the mimetype is supported (e.g., 'audio/ogg; codecs=opus').
- If sending to contacts, ensure the contacts list is correctly formatted as JSON and contains valid contact identifiers.
- Check network settings if using proxy or if SSL certificate validation is disabled; misconfiguration can cause request failures.
- Timeout errors may occur if the server is slow to respond; adjust the timeout setting accordingly.