Actions119
- Campfire Actions
- Card Table Actions
- Chatbot Actions
- Client Approval Actions
- Client Correspondence Actions
- Client Reply Actions
- Client Visibility Actions
- Comment Actions
- Document Actions
- Event Actions
- Forward Actions
- Inbox Actions
- Inbox Reply Actions
- Lineup Marker Actions
- Message Actions
- Message Board Actions
- Message Type Actions
- Person Actions
- Project Actions
- Question Actions
- Question Answer Actions
- Questionnaire Actions
- Recording Actions
- Schedule Actions
- Schedule Entry Actions
- Template Actions
- Todo Actions
- Todolist Actions
- Todolist Group Actions
- Todoset Actions
- Upload Actions
- Vault Actions
- Webhook Actions
Overview
The "Create a Webhook" operation for the Webhook resource in this node allows users to register a webhook URL with Basecamp. When specific events occur within a given project (referred to as a "bucket"), Basecamp will send an HTTP POST request to the specified Payload URL. This enables real-time notifications and integrations, such as triggering workflows or syncing data when changes happen in Basecamp projects.
Common scenarios include:
- Automating task updates or notifications when certain events happen in a Basecamp project.
- Integrating Basecamp events with other systems like Slack, email, or custom dashboards.
- Monitoring project activities without polling the API continuously.
Example: A user wants to receive notifications whenever a new message is posted in a Basecamp project. They create a webhook specifying the project ID, their server's HTTPS endpoint as the payload URL, and the event types they want to listen for. When those events occur, Basecamp calls their endpoint with event details.
Properties
| Name | Meaning |
|---|---|
| Project ID | The numeric ID of the Basecamp project (bucket) where the webhook will be created. |
| Payload URL | The HTTPS URL that Basecamp will call when one of the specified events occurs. |
| Event Types | The types of events that will trigger the webhook callback. This is a string describing event categories. |
| Return Full Response | Boolean flag indicating whether to return the full HTTP response (status code, headers, body) or just the response body. |
Output
The node outputs JSON data representing the response from the Basecamp API after creating the webhook. By default, it returns only the response body, which typically includes details about the newly created webhook such as its ID, URL, and subscribed event types.
If the "Return Full Response" property is set to true, the output will include the entire HTTP response object, containing status code, headers, and body, allowing more detailed inspection of the API call result.
This node does not output binary data.
Dependencies
- Requires an active connection to Basecamp via OAuth2 authentication using an API key credential configured in n8n.
- The node uses the Basecamp API endpoint constructed with the user's account ID.
- The Payload URL must be a publicly accessible HTTPS endpoint capable of receiving POST requests from Basecamp.
Troubleshooting
- Invalid Project ID: If the provided project ID does not exist or the authenticated user lacks access, the API will return an error. Verify the project ID and permissions.
- Invalid Payload URL: The URL must be HTTPS and reachable by Basecamp servers. Using HTTP or unreachable URLs will cause webhook creation to fail.
- Event Types Format: Ensure the event types string matches expected values by Basecamp; otherwise, the webhook may not trigger correctly.
- API Authentication Errors: If the OAuth2 credentials are invalid or expired, the node will fail to authenticate. Refresh or reconfigure credentials as needed.
- Return Full Response Confusion: Enabling full response output changes the structure of the output data. Downstream nodes expecting only the body might need adjustment.
Links and References
- Basecamp API Documentation - Webhooks
- Basecamp Developer Portal
- n8n Documentation on Webhooks (for general webhook usage concepts)