Legacy Dev Forum Posts

 View Only

Sign Up

Worklfow for becoming an active participant and replying to an email

  • 1.  Worklfow for becoming an active participant and replying to an email

    Posted 06-05-2025 18:30

    reijmer | 2024-03-27 03:08:56 UTC | #1

    Hi there,

    I am struggling to understand how I can create a workflow with the API to reply to an incoming email.

    I have a websocket connection open to my queue, where I get notifications on new emails.

    then I:

    1. get the conversation using: getconversationsemail
    2. use postconversationparticipantreplace to set the acd participant to my user with a transfer request like {userid = user.id, transfer_type = "Attended"}
    3. use patchconversationsemail_participant with request {state = "CONNECTED" } to connect the participant to the conversation

    and then finally i use postconversationsemail_messages to send my reply, but this is where it fails

    with the error message "User is not an active communication on the conversation."

    What am I missing?

    thanks!


    system | 2024-04-26 03:09:50 UTC | #2

    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: 25423