Introduction
Overview of HumanLayer’s contact channel options
HumanLayer provides multiple channels for agents to contact humans and collect responses. Each channel can be used with both require_approval
and human_as_tool
.
Slack
Send messages and collect responses via Slack channels or DMs
Send emails and collect responses via email threads
React Embed
Embed approval flows in your React applications
Composite Channels
Chain multiple channels together for complex workflows
Channel Configuration
Contact channels are configured using the ContactChannel
model:
Configuration Levels
Contact channels can be configured at three levels:
Operation Level
Configure channels directly on individual operations:
SDK Level
Configure a default channel for all operations in a HumanLayer instance:
Project Level
Configure default channels for your entire project in the HumanLayer Dashboard. These will be used when no channel is specified at the operation or SDK level.