Not able to create audio connector action using sdk purecloud-flow-scripting-api-sdk-javascript

Hi, I am using sdk purecloud-flow-scripting-api-sdk-javascript

I just need to add action audio connector but gives error even i provide proper connector id

const audioConnectorAction = scriptingActionFactory.addActionCallAudioConnector(startupTask, 'MyAudioConnector');

// Directly assign the connector ID
audioConnectorAction.connectorId = ''; // Ensure this ID is correct

// Optionally, set session variables or display the name of the connector for debugging
audioConnectorAction.addSessionVariableNameValuePair('botName', 'test');

@tim.smith can you please help here

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