WasenderAPI icon

WasenderAPI

Manage WasenderAPI sessions, messages, contacts, and groups

Group → Create Group

AI-generated

Overview

This node operation creates a new group in the WasenderAPI system. It is useful for automating the creation of WhatsApp groups with specified participants, enabling workflows that manage group communications programmatically. For example, it can be used to create a group for a project team and add team members automatically.

Use Case Examples

  1. Create a WhatsApp group named 'Project Team' with participants from a contact list.
  2. Automate group creation for event attendees to facilitate communication.

Properties

Name Meaning
Group Name The name of the group to be created. This is a required string input.
Participants A collection of participants to add to the group upon creation. Each participant is identified by their JID (Jabber ID). Multiple participants can be added.
Session Optional session selection to specify which WasenderAPI session to use for the operation. Can be selected from a list or by ID.
Options Request options for retrying failed API requests, including whether to retry and the maximum number of retries.

Output

JSON

  • id - The unique identifier of the created group.
  • name - The name of the created group.
  • participants - List of participants included in the group.
  • resourceType - Indicates the resource type, here it would be 'group'.
  • resourceId - The identifier of the group resource.
  • pictureUrl - URL of the group's profile picture if available.
  • mimeType - MIME type of the group's profile picture.
  • fileName - File name of the group's profile picture.

Dependencies

  • WasenderAPI service accessed via an API key credential

Troubleshooting

  • Ensure the session ID is correctly provided or auto-selected; missing session information will cause errors.
  • Participants list must contain at least one valid participant JID; empty participant list will cause an error.
  • API request failures may occur due to network issues or invalid credentials; check API key and network connectivity.
  • Error messages related to invalid JSON or missing required parameters indicate input configuration issues.

Links

Discussion