CompanyCam icon

CompanyCam

Node for connecting CompanyCam

Overview

The node connects to the CompanyCam API, enabling interaction with various resources such as projects, photos, collaborators, documents, users, labels, checklists, and more. Specifically, for the Project Collaborator resource and the List Project Collaborators operation, the node retrieves a list of collaborators associated with a given project in CompanyCam.

This functionality is useful when you want to programmatically access or manage the team members involved in a project, for example:

  • Displaying all collaborators on a project within an automation workflow.
  • Syncing collaborator data with other systems.
  • Auditing or reporting on project team composition.

Properties

Name Meaning
Resource The type of entity to interact with; here it should be set to "Project Collaborator".
Operation The action to perform on the selected resource; here it is "List Project Collaborators".

Note: The provided properties JSON contains only notices indicating that some parts are not yet built or funded by a company for specific functionality. No additional input parameters are defined for this operation in the provided source.

Output

The output will contain a JSON array of project collaborators retrieved from the CompanyCam API. Each item in the array represents a collaborator with details such as their user information, role, permissions, and association with the project.

If the node supports binary data output (not indicated in the provided code), it would typically represent files or images related to the collaborators, but no such indication exists here.

Dependencies

  • Requires an active connection to the CompanyCam API.
  • Needs an API key credential configured in n8n for authentication.
  • The base URL for API requests is https://api.companycam.com/v2.
  • The node expects standard HTTP headers for JSON content (Accept and Content-Type).

Troubleshooting

  • Common Issues:

    • Missing or invalid API key credential will cause authentication failures.
    • Network connectivity issues can prevent reaching the CompanyCam API.
    • If the project ID or required parameters are missing or incorrect, the API may return errors or empty results.
  • Error Messages:

    • Authentication errors typically indicate problems with the API key setup.
    • 404 or "Not Found" errors may mean the specified project does not exist or the user lacks permission.
    • Rate limiting errors if too many requests are made in a short time.
  • Resolutions:

    • Verify the API key credential is correctly configured and has necessary permissions.
    • Ensure the project identifier used in the request is valid.
    • Check network connectivity and firewall settings.
    • Consult CompanyCam API documentation for rate limits and usage guidelines.

Links and References

Discussion