---
title: "Resolve"
description: "Use the resolve action to close a conversation from a dialog, show the survey, or hang up a voice call."
---

# Resolve

> Use the resolve action to close a conversation from a dialog, show the survey, or hang up a voice call.

Close a conversation automatically through the **resolve** action inside the AI agent.

When the user triggers a resolve action, the AI agent performs the following actions:

1. The assistant closes the conversation, always respecting the **Keep alive** setting at the
   environment level. This setting determines the duration, in seconds, after which resolved
   conversations expire and any additional user messages create a new conversation.
2. The assistant displays the post-conversation survey if the user and the assistant have exchanged
   more than three messages.
3. If you are using Zendesk Sunshine Conversations, the assistant passes control to the next
   integration in the switchboard without showing a survey.

## Voice integrations

For voice integrations such as [Twilio Voice](https://docs.moveo.ai/docs/integrations/twilio-voice.md) and
[Telnyx Voice](https://docs.moveo.ai/docs/integrations/telnyx-voice.md), `resolve` hangs up the call. The platform ends
the call within a couple of seconds, whatever the environment's
[keep alive](https://docs.moveo.ai/docs/guides/guides-timeouts.md#keep-alive) value.

Add a [`Pause`](https://docs.moveo.ai/docs/ai-agents/operations/pause.md) action of **1–2 seconds** immediately before `Resolve`, so the caller hears the
final sentence of the AI agent in full before the line drops.

```
[ Text: "Thanks for calling. Goodbye." ]
[ Pause: 1s ]
[ Resolve ]
```
