Hi Mike,
I have tried this and it works perfectly. Does that mean since I am having to pass ${credentials.clientId} and ${credentials.clientSecret} through the request body template as a part of the event, I can't actually ever pass ${rawRequest} to the function if my function had to make any API call?
Thanks & Regards,
Mainak
------------------------------
Mainak Patra
------------------------------
Original Message:
Sent: 04-30-2025 18:38
From: Mike Hardie
Subject: Passing the integration credentials to the Genesys cloud function data action code
You need to pass in the creds yourself. You can access then using ${credentials.clientId} and ${credentials.clientSecret} (or as defined in your integeration. Pass them in a parameters.
------------------------------
Mike Hardie
Developer
------------------------------