All docs
Actions
Actions are the things your agent can do: look up an order, issue a refund, rebook an appointment. Each one has typed inputs, a permission level and a full trace.
Ready integrations
Connect helpdesk, CRM, commerce and messaging tools from Integrations. Each connection adds a set of actions, like Look up order or Create ticket, that you can switch on one by one. See the integrations directory.
Your own API
Describe an endpoint, its inputs and the secret it needs. Parley validates inputs before every call and stores secrets encrypted, out of the agent's reach.
name: look_up_order
method: GET
url: https://api.example.com/orders/{order_id}
inputs:
order_id: { type: string, required: true }
headers:
Authorization: Bearer {{secrets.ORDERS_KEY}}
timeout_ms: 4000Permissions
Every action is read, write or approval. Approval actions pause the conversation and ask a person in Slack or your helpdesk before anything changes, which is useful wherever money moves.
When you need logic
If an action needs more than one call or some shaping of the response, write it as custom code.
Something unclear?Contact supportor browse thehelp centerAll guides
