Legacy Dev Forum Posts

 View Only

Sign Up

What is the correct way to close an email conversation

  • 1.  What is the correct way to close an email conversation

    Posted 06-05-2025 18:33

    James_Tarling | 2024-11-28 15:00:32 UTC | #1

    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


    James_Tarling | 2024-12-10 12:40:31 UTC | #2

    Looking at this forum thread, we are going to try disconnecting the conversation instead of the participant with PATCH /api/v2/conversations/emails/{conversationId} with body of {"state": "disconnected" }

    If anyone from Genesys could advise if this is correct, it would be appreciated


    system | 2025-01-09 12:40:44 UTC | #3

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 30618