Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Send fax from Architect Flow

    Posted 10-30-2024 15:22

    I have a requirement to send a fax to a customer from an inbound flow. The customer wants to load specific forms to the document section and give the caller the option to select a form and then have it faxed to them. I am using the /api/v2/conversations/faxes.

    In the API explorer, I can put in a phone number and document ID and it sends the fax. The return in API Explorer includes an ID (not sure what i can do with this id, but it implies that the call was successful). My user gets a fax confirmation email. 

    I then created a data action. It returns green and an id in the output contracts. However, it does not send a fax. An outbound interaction is created, but its only 2 seconds long and again, no fax is received. I put my data action into an inbound flow and again, I receive an id when complete, but fax never sends. 

    I opened a ticket with Genesys support and was told this functionality is available, but my data action must not be working correctly and to pose my question to the forum.

    Because my data action returns green with the id in the output contract, it appears my data action is functioning correctly, but i would expect it to send the fax. what is wrong with my data action? 


    #API/Integrations

    ------------------------------
    Kellyn DuBois
    Lead Software Developer
    ------------------------------


  • 2.  RE: Send fax from Architect Flow

    GENESYS
    Posted 10-31-2024 08:02

    Hello Kellyn, 

    I think this question would be better on the dev forum, which can be found here

    While you post there if you share the output contract, the community can take a look. 

    From what it sounds like is you have everything developed correctly it maybe something off on the output contract. 

    Cheers, 



    ------------------------------
    Cam
    Online Community Manager/Moderator
    ------------------------------



  • 3.  RE: Send fax from Architect Flow
    Best Answer

    GENESYS
    Posted 10-31-2024 11:12

    Hi Kellyn,

    I'm afraid I don't have faxing setup in my org, so I can't test to be sure, but I believe that /api/v2/conversations/faxes requires a user context in order to run.  It works in API Explorer because you are connected with your Genesys Cloud user credentials.  It doesn't work with the Data Action because that is running using a Client Credentials OAuth client context.  We have a few "agentless" API (email, SMS), but not for fax.

    If you have a 3rd party fax system, then it might support email-to-fax and with that you can use the agentless email API to send that email to that system and it would then send out that fax.



    ------------------------------
    Jim Crespino
    Senior Director, Developer Evangelism
    Genesys
    https://developer.genesys.com
    ------------------------------



Need Help finding something?

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