AgentBill icon

AgentBill

Interact with AgentBill API for AI usage tracking & billing

Actions16

Overview

This node interacts with the AgentBill API to manage and retrieve information related to customers, agents, usage, analytics, invoices, webhooks, and reconciliations. Specifically, for the Customer resource with the Get operation, it fetches customer details by their unique Customer ID. This is useful for workflows that need to retrieve specific customer information for billing, usage tracking, or customer management purposes.

Use Case Examples

  1. Retrieve detailed information about a specific customer by their Customer ID to display in a dashboard or use in further processing.
  2. Fetch customer data to verify customer existence before creating related records or processing transactions.

Properties

Name Meaning
Customer ID The unique identifier of the customer to retrieve. This is a required string input used to specify which customer's details to fetch.

Output

JSON

  • id - The unique identifier of the customer.
  • name - The name of the customer.
  • email - The email address of the customer.
  • phone - The phone number of the customer.
  • createdAt - The date and time when the customer record was created.
  • updatedAt - The date and time when the customer record was last updated.

Dependencies

  • AgentBill API key credential

Troubleshooting

  • Ensure the Customer ID is provided and is valid; missing or invalid IDs will cause errors.
  • Check that the API key credential for AgentBill is correctly configured and has the necessary permissions.
  • Network issues or incorrect base URL configuration can cause request failures.
  • The node throws errors if required parameters are missing or if the API response indicates failure; review error messages for guidance.

Links

Discussion