Overview
This node manages webhooks in the RD Station CRM platform. It allows users to perform operations such as listing all webhooks, retrieving a specific webhook by its ID, creating new webhooks, updating existing ones, and deleting webhooks.
Common scenarios where this node is beneficial include automating integration workflows that depend on real-time notifications from RD Station CRM events (e.g., when deals or contacts are created or updated). For example, you can use it to programmatically create a webhook that triggers an external system whenever a new contact is added, or to fetch details of a specific webhook for auditing purposes.
Properties
| Name | Meaning |
|---|---|
| ID do Webhook | The unique identifier of the webhook to retrieve, update, or delete. |
The above property is required for the "Obter" (Get), "Atualizar" (Update), and "Deletar" (Delete) operations on the "Webhook" resource.
Output
- The output JSON contains the response data from the RD Station CRM API corresponding to the requested operation.
- For the "Obter" (Get) operation, the output JSON includes the details of the specified webhook.
- For other operations like "Listar" (Get All), it returns a list of webhooks with their properties.
- For the "Deletar" (Delete) operation, the output JSON confirms success with a message indicating the webhook was deleted.
- The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the RD Station CRM API.
- The base API endpoint used is
https://crm.rdstation.com/api/v1. - The node uses HTTP methods GET, POST, PUT, and DELETE to interact with the webhooks endpoint.
- Proper configuration of the API authentication credential in n8n is necessary.
Troubleshooting
- Missing or invalid webhook ID: If the webhook ID is not provided or invalid for operations that require it ("get", "update", "delete"), the node throws an error stating that a valid webhook ID must be supplied.
- Missing required fields when creating or updating: When creating a webhook, the callback URL and at least one event must be provided; otherwise, an error is thrown. Similarly, updating requires at least one field to change.
- API request failures: Network issues or incorrect credentials may cause request failures. Ensure the API key is valid and the RD Station CRM service is reachable.
- Empty update payload: Attempting to update a webhook without specifying any fields results in an error prompting to provide at least one field to update.