Cativa icon

Cativa

Consume Cativa API

Overview

The Cativa node for n8n allows you to interact with the Cativa API, specifically managing users, groups, and posts.
For the Group resource and the Remove from Group operation, this node removes a user (identified by their email) from a specified group.

Common scenarios:

  • Automating user management in Cativa groups.
  • Removing users from groups based on workflow logic (e.g., after offboarding or inactivity).
  • Integrating Cativa group membership changes with other systems.

Example use case:
When an employee leaves a company, automatically remove their email from all relevant Cativa groups.


Properties

Name Meaning
Email The email address of the user to be removed from the group. Example: [email protected]
Group ID The unique identifier of the group from which the user will be removed.

Output

The output is a JSON object (or array of objects if multiple items are processed).
The structure typically includes the result of the removal operation. If an error occurs and "Continue On Fail" is enabled, the output will include an error field with the error message.

Example output:

[
  {
    "success": true,
    "message": "User removed from group"
  }
]

Or, in case of error:

[
  {
    "error": "User not found in group"
  }
]

Note: Actual fields may vary depending on the Cativa API response.


Dependencies

  • External Service: Requires access to the Cativa API.
  • API Credentials: You must configure valid Cativa API credentials (cativaApi) in n8n.
  • n8n Configuration: No additional environment variables required beyond standard credential setup.

Troubleshooting

Common issues:

  • Invalid Email or Group ID: If the provided email or group ID does not exist, the node will return an error message.
  • Authentication Errors: If API credentials are missing or incorrect, authentication will fail.
  • Permission Denied: The API key used may lack permission to remove users from groups.

Error messages and resolutions:

  • "User not found in group": Ensure the email and group ID are correct and that the user is a member of the group.
  • "Authentication failed": Check your Cativa API credentials in n8n.
  • "Missing required parameter": Make sure both Email and Group ID are provided.

Links and References

Discussion