Actions52
- Project Actions
- Project Photo Actions
- Project Collaborator Actions
- Project Document Actions
- Project User Actions
- Project Label Actions
- Project Checklist Actions
- User Actions
- Photo Actions
- Tag Actions
- Group Actions
- Other Actions
Overview
The node connects to the CompanyCam API, enabling interaction with various resources such as projects, photos, collaborators, documents, users, labels, checklists, tags, groups, and others. Specifically, for the Project Photo resource with the Add Photo operation, the node allows users to add a photo to a project within CompanyCam.
This functionality is useful in scenarios where you want to automate uploading images related to construction projects, inspections, or site documentation directly into CompanyCam from other systems or workflows. For example, after capturing photos on a mobile app or receiving them via email, you can use this node to programmatically add those photos to the relevant project in CompanyCam without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Notice | Informational messages indicating that some parts of the node are not yet built or funded by a company for specific functionality. These notices appear when certain operations like adding a photo are selected. The messages include contact information and encourage contributions or requests for extra functionality. |
Note: The provided properties JSON only contains notice-type fields with no actual input parameters defined for the "Add Photo" operation under "Project Photo". This suggests that the input properties for this operation might be incomplete or not implemented yet in the provided source.
Output
The node outputs data in JSON format representing the response from the CompanyCam API after attempting to add a photo to a project. Typically, this would include details about the newly added photo such as its ID, URL, metadata, timestamps, and associated project information.
If the node supports binary data (e.g., uploading an image file), it would handle binary inputs accordingly, but this is not explicitly shown in the provided code snippet.
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. - No additional external dependencies are indicated in the provided source.
Troubleshooting
- Missing Input Fields: Since the "Add Photo" operation currently shows only notices and lacks input property definitions, users may find it impossible to provide necessary data to add a photo. This likely means the feature is not fully implemented yet.
- Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
- API Limitations: The CompanyCam API may have rate limits or restrictions; exceeding these could cause errors.
- Error Messages: Common errors would come from the API responses, such as invalid parameters or unauthorized access. Users should verify all required inputs once the operation is fully implemented.
Links and References
- CompanyCam API Documentation — Official API docs for detailed endpoint information.
- n8n Documentation — Guidance on setting up credentials and using custom nodes.
- GitHub repository for the node (if available) for updates or contributing enhancements.
Note: The provided bundled source code mainly defines the node structure and imports descriptions but does not include the implementation details of the execute() method or input fields for the "Add Photo" operation. The notices indicate that this part of the node is not yet built.