Hello everyone,
I'm trying to trigger a Power Automate Flow from a Genesys Cloud Data Action (Integration : WebServices Data Action).
This works perfectly well via Postman, But curiously, the body does not seem to be sent when the request is made from Genesys.
To give you more details : In PowerAutomate i've created a flow triggered by http request. The request body must use the following json schema :
{
"type": "object",
"properties": {
"firstname": {
"type": "string"
},
"lastname": {
"type": "string"
}
}
}
and then send a simple notification in MS-Teams with these variables.
If i call this request with Postman, everything works well.
If i call this request from Genesys, it returns a succes, triggers the flow, but without the body sent. I can't see it in my flow's logs.
Here is my request configuration :
{
"requestUrlTemplate": "urlofmyflowtrigger",
"requestType": "POST",
"headers": {
"Content-Type": "application/json"
},
"requestTemplate": "{\n \"firstname\": \"${input.Firstname}\",\n \"lastname\": \"${input.Lastname}\"\n}"
}
Do you have any idea about this issue? I can, of course, send other POST requests without any problem.
Thanks by advance,