# PUT /conversation-flows/no-match/:channel/:account_id

**Resource:** [CONVERSATION_FLOWS](./conversation-flows.md)  
**MCP tool:** `set_conversation_no_match_setting`  
**Scopes:** `automations:write`  
**Write operation:** yes

Set what happens to a message no conversation flow takes on one account: business_hours and after_hours, each ai_reply, team or start_flow (with business_hours_flow_id or after_hours_flow_id, a flow that runs on this account). Send only what changes. Choosing ai_reply switches on the AI for that account (it keeps its own draft or auto-send mode; an account with no AI gets one in draft mode, so replies wait for approval) and needs agent-ops:write. A team reply in a conversation always pauses the AI and any flow; each conversation gets at most 30 automatic replies a day.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `channel` | path | string | yes | The account's channel. |
| `account_id` | path | string | yes | The account id from list_conversation_no_match_settings (or list_conversation_flow_accounts). |
| `business_hours` | body | string | no | In business hours. ai_reply \| team \| start_flow: ai_reply = the AI answers (the account's AI settings: instructions, knowledge, draft or send); team = no automatic reply, it waits in the Inbox for a person; start_flow = start the chosen flow with this message. |
| `after_hours` | body | string | no | After hours (outside the team's working hours). ai_reply \| team \| start_flow: ai_reply = the AI answers (the account's AI settings: instructions, knowledge, draft or send); team = no automatic reply, it waits in the Inbox for a person; start_flow = start the chosen flow with this message. |
| `business_hours_flow_id` | body | string | no | The flow to start in business hours, when business_hours is start_flow (list_conversation_flows). It must run on this account. |
| `after_hours_flow_id` | body | string | no | The flow to start after hours, when after_hours is start_flow (list_conversation_flows). It must run on this account. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PUT   "https://api.trustpager.com/functions/v1/api/v1/conversation-flows/no-match/:channel/:account_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"business_hours":"...","after_hours":"...","business_hours_flow_id":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`