Update Followup Settings
PATCH/conversation-ai/agents/:agentId/followup-settings
Update the followup settings for an action
Request
Version stringrequired
API Version
Available options
v3agentId stringrequired
- application/json
- Body
- Example (auto)
Bodyrequired
actionIdsstring[]required
followupSettingsobjectrequired
{
"actionIds": [
"edxcfghbnjkimd"
],
"followupSettings": {
"dynamicChannelSwitching": true,
"followUpHours": true,
"workingHours": [
{
"dayOfTheWeek": 1,
"intervals": [
{
"startHour": 9,
"startMinute": 0,
"endHour": 17,
"endMinute": 30
}
]
}
],
"timezoneToUse": "contact"
}
}
Success
- application/json
- Schema
- Example (auto)
Schema
dataobjectrequired
Updated action details
successbooleanrequired
Success status of the request
{
"data": {
"id": "actionId123",
"name": "Trigger Workflow",
"type": "triggerWorkflow",
"agentId": "agentId123",
"details": {
"workflowIds": [
"workflow123",
"workflow456"
],
"triggerCondition": "When user requests appointment",
"triggerMessage": "Workflow triggered successfully"
}
},
"success": true
}