Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Capture data in a call flow and send data to an email address

    Posted 13 hours ago

    I am creating a call flow that will ask the caller for their employer ID and 3 questions. I plan to capture their answers via Input Data Name: {var}

    After I capture the data, I want to send it via email, including the employee ID and the answers to their 3 questions, in a readable format. Once the email is sent, I do not need to keep the data. 

    Is there a way I can do this? Suggestions or ideas? 

    Thank you, 

    Mario


    #ArchitectandDesign

    ------------------------------
    Mario Martinez
    Meijer Great Lakes Limited PartnershipEngineer
    ------------------------------


  • 2.  RE: Capture data in a call flow and send data to an email address

    Posted 9 hours ago

    Hello Mario.

    I have moved your question to the Genesys Cloud - Developer Community. Hopefully one of the experts there will be able to assist you with this. I think you could capture this info in a JSON body like this:
    {
    "employerId": "123456",
    "question1": "Yes",
    "question2": "No",
    "question3": "Maybe",
    "callTime": "YYYY-MM-DDTHH:MM:SSZ",
    "ani": "+15551234567"
    }



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Capture data in a call flow and send data to an email address

    Posted 7 hours ago

    Hello Mario,

    Just to add to Jason's suggestion 

    You can use the /api/v2/conversations/emails/agentless endpoint (via a Data Action) to send the email directly from Genesys Cloud. This works well for this use case and keeps everything within the platform.

    However, one thing to be aware of is that Agentless Email creates an email interaction, so the content (i.e. employer ID and responses) will be stored within Genesys as part of that interaction and subject to your retention policies.

    Hopefully someone will be able to add more to this thread.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------