Portal Community
API endpoint: Calls POST /{groupId} with the new subject value. Admin privilege on the group is required. The update takes effect immediately and is visible to all participants.

When to Use

Configuration

Connection

FieldRequiredDescription
accessTokenRequiredPermanent System User access token. Store in BizFirst Credentials Manager.
phoneNumberIdRequiredNumeric string ID of the business phone number. Must be a group admin.
apiVersionOptionalMeta Graph API version. Defaults to v18.0.

Operation

FieldRequiredDescription
groupIdRequiredThe WhatsApp group ID to update.
subjectRequiredNew group name. Max 25 characters.

Sample Configuration

{
  "resource": "group",
  "operation": "update-name",
  "accessToken": "{{ $credentials.whatsAppToken }}",
  "phoneNumberId": "123456789012345",
  "groupId": "120363xxxxxxxxxx@g.us",
  "subject": "Project Alpha — Build Phase"
}

Validation Errors

ErrorCause
accessToken is requiredThe accessToken field is empty.
phoneNumberId is requiredNo Phone Number ID supplied.
groupId is requiredNo group ID provided.
subject is requiredNo new group name provided.
subject too longNew subject exceeds 25 characters.
100 (Meta)Group not found or phone number is not a member.
200 (Meta)Phone number is a group member but not an admin — admin privilege required.

Output

Success Port

FieldTypeDescription
successbooltrue when the group was renamed.
groupIdstringThe updated group ID.
subjectstringThe new group subject as stored.
statusstring"updated".
rawResponsestringFull raw JSON from the Meta Graph API.

Error Port

FieldTypeDescription
groupIdstringGroup ID echoed from input.
statusstring"failed" or "error".
errorCodestringMeta error code or "timeout".
errorMessagestringHuman-readable error description.

Sample Output

{
  "success": true,
  "groupId": "120363xxxxxxxxxx@g.us",
  "subject": "Project Alpha — Build Phase",
  "status": "updated"
}

Expression Reference

ValueExpressionNotes
Update success{{ $output.updateGroup.success }}Gate downstream steps on this boolean.
New subject{{ $output.updateGroup.subject }}Store in the local group record to keep the database in sync.

Node Policies & GuardRails

Policy AreaRecommendation
Credential storageStore the access token in BizFirst Credentials Manager.
Admin requirementThe business phone number must be a group admin. If a 200 permission error is returned, verify admin status via group/getParticipants before retrying.
Audit loggingLog the old and new subject names with the group ID and timestamp to the audit trail for compliance record-keeping.
Subject lengthValidate subject length (max 25 characters) in a Function node before calling this node to prevent avoidable API errors.
Error portConnect the error port.

Examples

Automated Phase Transition Rename

{
  "resource": "group",
  "operation": "update-name",
  "accessToken": "{{ $credentials.whatsAppToken }}",
  "phoneNumberId": "123456789012345",
  "groupId": "{{ $input.groupId }}",
  "subject": "{{ $input.newPhaseName }}"
}

A project management system webhook fires when a project moves to a new phase. The workflow retrieves the associated group ID from the project record, constructs the new name from the project name and phase name (truncated to 25 characters by a Function node), and calls this update node. The audit log records the rename with a timestamp.

Incident Closure Rename

{
  "resource": "group",
  "operation": "update-name",
  "accessToken": "{{ $credentials.whatsAppToken }}",
  "phoneNumberId": "123456789012345",
  "groupId": "{{ $workflow.incidentGroupId }}",
  "subject": "INC-{{ $input.incidentId }} Post-Mortem"
}

When an incident is marked as resolved in the ITSM system, this workflow renames the bridge group to the post-mortem name, signalling to participants that the urgent response phase is over and the group will now be used for retrospective discussion.