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 operation creates a new group within a specified session. It is useful for scenarios where users need to programmatically manage group communications, such as setting up chat groups for team collaboration or customer support. For example, a user can create a group by specifying the session name, group name, and participants to automate group creation workflows.
Use Case Examples
- Creating a group for a project team by specifying the session, group name, and participant IDs.
- Automating customer support group creation by dynamically adding participants based on incoming requests.
Properties
| Name | Meaning |
|---|---|
| Session | The name of the session in which the group will be created. |
| Name | The name of the group to be created. |
| Participants | A JSON array of participant objects, each containing an ID, to be added to the group. |
| Request Options | Optional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings. |
Output
JSON
id- The unique identifier of the created group.name- The name of the created group.participants- The list of participants added to the group.session- The session name in which the group was created.
Dependencies
- Requires an API key credential or session authentication to interact with the group management service.
Troubleshooting
- Ensure the session name is valid and active; otherwise, group creation will fail.
- Participants must be provided as a valid JSON array with correct IDs; malformed JSON or invalid IDs will cause errors.
- If SSL certificate validation is enabled, ensure the server's SSL certificate is valid or use the option to ignore SSL issues if necessary.
- Proxy settings must be correctly configured if used; incorrect proxy details can cause connection failures.
- Timeout settings should be adjusted based on network conditions to avoid premature request abortion.