Hello
In the following scenario
- customer sends an email
- email comes into an Inbound Email flow
- the flow sends the email details to a service via a Data Action
- the service decides no response is necessary and closes the conversation
How do we close a conversation using the platform API so it doesn't proceed to an advisor?
We're currently doing the following, but I'm not sure we're doing this for the right participant. If this is the way, which participant do we choose?
body = MediaParticipantRequest()
body.state = "disconnected"
api_instance.patch_conversations_email_participant(
conversation_id=conversation_id,
participant_id=participant_id,
body=body,
)
Many thanks for any help,
James