Actions16
- Signal Actions
- Usage Actions
- Customer Actions
- Agent Actions
- Analytics Actions
- Invoice Actions
- Webhook Actions
- Cost Guard Actions
- Reconciliation Actions
Overview
This node interacts with the AgentBill API to create webhook endpoints that listen for specific events such as signal creation, invoice generation, or customer creation. It is useful for automating workflows that depend on real-time notifications from AgentBill, such as triggering actions when a new invoice is generated or a customer is created.
Use Case Examples
- Creating a webhook to listen for 'Signal Created' events to trigger downstream processing.
- Setting up a webhook to receive notifications when an invoice is generated, enabling automated billing workflows.
- Creating a webhook to track customer creation events for CRM synchronization.
Properties
| Name | Meaning |
|---|---|
| Webhook URL | The URL of your webhook endpoint where event notifications will be sent. |
| Events | The list of events to subscribe to for webhook notifications, such as signal.created, invoice.generated, and customer.created. |
Output
JSON
url- The URL of the created webhook endpoint.events- The list of events the webhook is subscribed to.id- The unique identifier of the created webhook.
Dependencies
- AgentBill API key credential
Troubleshooting
- Ensure the webhook URL is a valid and reachable endpoint to receive event notifications.
- Verify that the API key credential for AgentBill is correctly configured and has the necessary permissions.
- Common error: 'Customer ID is required and must be less than 255 characters' - occurs if the customer ID input is missing or too long; ensure correct input.
- Common error: 'Messages must be valid JSON array' - occurs if the messages parameter is not valid JSON; ensure proper JSON formatting.