Basecamp icon

Basecamp

Interact with Basecamp API

Actions119

Overview

This node integrates with the Basecamp API, specifically focusing on the "Template" resource and its operation to create a project construction from a template. It allows users to instantiate new projects based on predefined templates within Basecamp, automating project setup and ensuring consistency.

Common scenarios where this node is beneficial include:

  • Automating the creation of standardized projects for recurring workflows.
  • Quickly setting up new projects with predefined tasks, schedules, and resources.
  • Integrating project creation into larger automation workflows, such as onboarding or campaign launches.

For example, a marketing team could use this node to automatically create a new campaign project from a template whenever a new client signs up, saving time and reducing manual errors.

Properties

Name Meaning
templateId The numeric ID of the template to use for creating the project construction. This is required and used in the API endpoint path.
Project A JSON string representing the project details to be created. This object is sent in the request body and must conform to Basecamp's project structure.
Return Full Response Boolean flag indicating whether to return the full HTTP response (including status code and headers) or just the response body. Defaults to false.

Output

The node outputs the response from the Basecamp API after attempting to create the project construction. The main output field json contains:

  • If Return Full Response is false (default):
    The JSON body of the API response, typically including details of the newly created project.

  • If Return Full Response is true:
    The entire HTTP response object, including status code, headers, and body.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Basecamp API using OAuth2 authentication with appropriate permissions to create projects.
  • The node expects the Basecamp account ID to be configured in credentials to construct the base URL for API requests.
  • No additional external dependencies beyond the Basecamp API and n8n's OAuth2 credential configuration.

Troubleshooting

  • Invalid Template ID: If the provided templateId does not exist or is incorrect, the API will likely return a 404 or similar error. Verify the template ID in your Basecamp account.

  • Malformed Project JSON: The project property must be a valid JSON string matching Basecamp's expected project schema. Invalid JSON or missing required fields can cause API errors.

  • Authentication Errors: Ensure that the OAuth2 credentials are correctly set up and have sufficient permissions to create projects.

  • API Rate Limits: Frequent calls may hit Basecamp API rate limits; handle such errors by implementing retries or backoff strategies.

  • Return Full Response Confusion: When enabling "Return Full Response," downstream nodes must handle the full HTTP response object instead of just the JSON body.

Links and References

Discussion