Genesys Cloud - Main

 View Only

Discussion Thread View
  • 1.  Outbound Wrapup code

    Posted 25 days ago

    Hi All,

    I am working on Outbound dialer and we need to send post call history to CRM api when call is connected to customer via Architect flow (we have some logics there). We are using trigger to invoke Workflow to capture conversation details for our logic and  need to  check if we get wrapup code like "wrapUpCode": "ININ-OUTBOUND-TRANSFERRED-TO-FLOW" so that we can send call history accordingly to CRM api.

    Has anyone worked on similar use case how we can get wrap code from Genesys /api/v2/analytics/conversations/${input.ConversationID}/details ?


    #Outbound

    ------------------------------
    Ashish Kumar Sinha

    ------------------------------


  • 2.  RE: Outbound Wrapup code

    Top 25 Contributor
    Posted 25 days ago

    Hi Ashish,

    Based on your use case, I assume this is a dialer that routes a call to an outbound flow?

    Question is why is there a need to call the API and fetch the wrap-up? The ININ-OUTBOUND-TRANSFERRED-TO-FLOW system wrap-up is standard for all dialer calls routed to a flow.

    However, you still need to assign a default wrap-up code to your flow correct? This wrap-up gets attached to the conversation together with the system wrap-up.

    Also, if you have several set wrap-up code actions inside this outbound flow, then why is there still a need to fetch the wrap-up?

    I don't see a situation where the wrap-up is unknown. Is this workflow then checking past calls/conversations where you are filtering based on wrap-up?

    Can you elaborate your use case here?



    ------------------------------
    Niel Vicente
    DAMAC Properties Co. LLC
    ------------------------------



  • 3.  RE: Outbound Wrapup code

    Posted 25 days ago
    Edited by Jason Kleitz 19 days ago

    what particular topic name are you using on your trigger? check the event schema of the topic the your using and get a sample data when the trigger is invoke using json data format. guide here https://help.mypurecloud.com/articles/overview-of-triggers/ if you can get the value that you are looking for on the event that you are using, then you can extract from the jsonData the conversationId or participantId and use it as input variable in 'Get Conversation Data' action in your workflow.
    https://help.mypurecloud.com/articles/work-with-workflows/ look for 'Get conversation Data' using this you can get the value of WrapUpCode if the variable is available on the event schema of the topic that you are using.



    ------------------------------
    Ernest John Nuque
    ------------------------------



  • 4.  RE: Outbound Wrapup code

    Posted 24 days ago
    Edited by Ashish Kumar Sinha 24 days ago

    Hi Niel,

    The use case is when we get wrap up code as ININ-OUTBOUND-TRANSFERRED-TO-FLOW, it means the customer picked the call and interaction went to Outbound flow. We need to pass some data to API only when there is successful scenario.

    Hi Ernest,

    I am using v2.detail.events.conversation.{id}.customer.end topic to trigger my Workflow.



    ------------------------------
    Ashish Kumar Sinha
    ------------------------------



  • 5.  RE: Outbound Wrapup code
    Best Answer

    Top 25 Contributor
    Posted 24 days ago

    Hi Ashish,

    Assuming your call analysis response only routes to flow on Line Connected, you can be assured 100% that the outbound flow is invoked only on customer pickup.

    If you have Answering Machine set to 'Hangup', only connected calls will invoke the outbound flow.

    There's no need to call another API to fetch conversation data. Call your CRM (Salesforce?) API as you like.

    Question:
    Are you also expecting DTMF input or you will call your CRM API as soon as customer picks up?





    ------------------------------
    Niel Vicente
    DAMAC Properties Co. LLC
    ------------------------------



  • 6.  RE: Outbound Wrapup code

    Posted 23 days ago

    Thanks Niel for the clarification.

    Yes, after playing some message we are giving option to press 1 to route to queue in case they need more clarifications.



    ------------------------------
    Ashish Kumar Sinha
    Cognizant Technology Solutions India Private Limited
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources