Worklfow for becoming an active participant and replying to an email

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: get_conversations_email
  2. use post_conversation_participant_replace to set the acd participant to my user with a transfer request like {user_id = user.id, transfer_type = "Attended"}
  3. use patch_conversations_email_participant with request {state = "CONNECTED" } to connect the participant to the conversation

and then finally i use post_conversations_email_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!

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