CompanyCam icon

CompanyCam

Node for connecting CompanyCam

Overview

The node is designed to interact with the CompanyCam API, specifically to manage various resources such as projects, users, photos, labels, and more. The "Remove Assigned User From Project" operation under the "Project User" resource allows you to remove a user who has been assigned to a specific project. This can be useful in scenarios where team members change roles, leave a project, or need to be unassigned for any reason.

Practical examples include:

  • Automatically removing a user from a project when their role changes in your organization.
  • Cleaning up project assignments after project completion.
  • Managing user access dynamically based on project needs.

Properties

Name Meaning
Resource The type of entity you want to work with; here it should be set to "Project User".
Operation The action to perform; here it should be "Remove Assigned User From Project".

Note: The provided properties JSON contains only notices indicating that some parts are not yet built and does not list explicit input parameters for this operation. Typically, for this operation, you would expect inputs like:

  • Project ID: Identifier of the project.
  • User ID: Identifier of the user to remove from the project.

Since these are not explicitly defined in the provided code snippet, they are assumed to be part of the broader node configuration or handled internally.

Output

The output of this operation typically includes a JSON object confirming the removal of the user from the project. It may contain fields such as:

  • Success status (e.g., boolean or message).
  • Details of the updated project or user assignment state.

No binary data output is indicated or expected for this operation.

Dependencies

  • Requires an active connection to the CompanyCam API.
  • Needs an API key credential configured in n8n to authenticate requests.
  • The base URL for API requests is https://api.companycam.com/v2.

Troubleshooting

  • Common Issues:

    • Missing or invalid API credentials will cause authentication failures.
    • Providing incorrect project or user IDs will result in errors or no action.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • Authentication errors: Ensure the API key is correctly set up in n8n credentials.
    • Not found errors: Verify that the project and user IDs exist and are correct.
    • Permission errors: Confirm that the API key has sufficient permissions to modify project users.

Links and References

Discussion