The Channels resource in Copilotz connects your agents to external communication platforms, such as WhatsApp. Channels allow agents to interact with users through specific messaging channels by defining the hooks, callbacks, and configuration needed to establish and manage these connections.
A Channel represents a communication path between a Copilotz agent and an external platform (e.g., WhatsApp). Each channel is associated with a unique configuration that dictates how incoming and outgoing messages are handled. Channels can link directly to WhatsApp numbers, custom webhooks, or other services and manage message routing, authentication, and handling.
native:agents/taskManager
).allowList
, which can define which users can interact with the channel.A sample Channel for connecting to WhatsApp would look like this:
rpc
, whatsapp
).rpc
or whatsapp
.native:agents/taskManager
."turn"
for message-by-message delivery).Free Tier vs Paid Plans: During the “getting started” process, two channels are created automatically. For users on the free tier, a test channel is created with a pre-configured WhatsApp number (extId
), allowing users to test the integration. To fully connect a custom WhatsApp number, users need to select a paid plan.
Message Routing and Webhooks: Channels control how messages from users are routed to Copilotz agents and how responses are streamed back. For example, when a WhatsApp message is received, the corresponding agent’s handler (e.g., native:agents/chat
) processes the message and returns a response.
Testing with Allow Lists: For users on the free tier, an allowList property can be configured via the /rest/channels
API to restrict access to specific users while testing with a Copilotz-managed WhatsApp number.
/rest/channels
API.The Channels resource in Copilotz connects your agents to external communication platforms, such as WhatsApp. Channels allow agents to interact with users through specific messaging channels by defining the hooks, callbacks, and configuration needed to establish and manage these connections.
A Channel represents a communication path between a Copilotz agent and an external platform (e.g., WhatsApp). Each channel is associated with a unique configuration that dictates how incoming and outgoing messages are handled. Channels can link directly to WhatsApp numbers, custom webhooks, or other services and manage message routing, authentication, and handling.
native:agents/taskManager
).allowList
, which can define which users can interact with the channel.A sample Channel for connecting to WhatsApp would look like this:
rpc
, whatsapp
).rpc
or whatsapp
.native:agents/taskManager
."turn"
for message-by-message delivery).Free Tier vs Paid Plans: During the “getting started” process, two channels are created automatically. For users on the free tier, a test channel is created with a pre-configured WhatsApp number (extId
), allowing users to test the integration. To fully connect a custom WhatsApp number, users need to select a paid plan.
Message Routing and Webhooks: Channels control how messages from users are routed to Copilotz agents and how responses are streamed back. For example, when a WhatsApp message is received, the corresponding agent’s handler (e.g., native:agents/chat
) processes the message and returns a response.
Testing with Allow Lists: For users on the free tier, an allowList property can be configured via the /rest/channels
API to restrict access to specific users while testing with a Copilotz-managed WhatsApp number.
/rest/channels
API.