Zoho Cliq icon

Zoho Cliq

Fully manage your Zoho Cliq workspace: messages, channels, teams, users, databases, events, reminders, bots, files, and more

Actions168

Role → Build Permissions JSON Payload

AI-generated

Summary

Generate a JSON payload for updating Zoho Cliq role permissions based on a user-provided permissions template in update list format.

Inputs

  • permissionsTemplate (required) — A JSON object representing the role permissions template as an array of permission entries, each specifying module, action (optional), and status (should be 'enabled' or 'disabled' to be included in output). Also supports configuration entries within permissions. Only entries with meaningful status or configuration values are included in the generated payload.
  • outputFullTemplatePayload — A boolean flag to control whether to output the full permissions template including empty rows for advanced conditional manipulation before applying updates.
  • enableAiErrorMode — Option to return errors as output items instead of stopping execution, recommended only for AI tool runs to handle failures gracefully.

Output shape

a single JSON object representing the filtered and structured permissions update payload suitable for updating role permissions in Zoho Cliq.

The output excludes permission entries with empty or unspecified status unless outputFullTemplatePayload is set. This operation is a local helper that does not perform any API calls; the generated payload should be mapped into subsequent Update Role Permissions operations for actual API interaction.

Examples

Example 1: User wants to build a permissions update payload from a custom JSON template to adjust role permissions programmatically in a workflow.

Provide the permissions template JSON with desired module, actions, and statuses. Optionally enable output of the full template or AI error handling. Execute the node to obtain the permissions JSON payload for the role update operation.

Links

Discussion