Can Data Actions return response in Streaming?

Hi Genesys,

we have a use case where we would like to implement the following...

We have an Internal API which returns information in "streaming". As soon as the service has some information, it returns it. So our service does not wait until the response is complete to return it.

That streaming is not a permanent connection that last for minutes, the API streams the text in the http response during 5-10 seconds

In a messaging interaction, we want to send back that information to the customer as soon as the API is streaming...

Is there any way to create a custom data action (or anything else) that behave as we need to deliver the API response to architect's flow as soon as it gets it?.

Thanks for your help

Pretty sure the answer is no, but will wait for Genesys employee to respond.

That is not something that we directly support. You could implement this via an AWS Lambda, Google Function or Genesys Cloud Functions (Currently in Beta, see here: Genesys Cloud - Beta HQ - Genesys. )

You can also submit an idea for this at Genesys Cloud Ideas Portal

--Jason

Thanks Jason for your answer.

I understand that if we develop a lambda function, as it will be called in Architect through a Data Action, the behaviour would be the same and that data action element won't be able to stream the content received.

Could you please confirm that?

Thanks

Hello,

That is correct.
Once the Data Action (Lamba or WebServices) returns a result, the control is given back to your Architect flow that can leverage this content to play/send it in a message.

Regards,

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