Is it possible to trigger a ServiceNow Data Action from a Bot NLP intent without a human agent?
We are attempting to automate ticket creation directly from the Genesys Cloud bot interaction layer. The goal is to bypass the standard conversation transfer and create a ServiceNow incident immediately upon a specific NLP intent match (e.g., “billing_dispute”).
The current Architect flow is configured as follows:
- Bot Version: v2.4.1
- Data Action: Standard POST to ServiceNow REST API (
/api/now/table/incident) - Authentication: OAuth2 Client Credentials flow
- Trigger: NLP Intent Confidence > 0.85
The issue arises when the bot attempts to execute the Data Action. The webhook returns a 401 Unauthorized error, despite the OAuth token being valid for other internal APIs. We suspect this might be related to the bot execution context lacking the necessary tenant permissions or scope for outbound HTTP requests to external systems.
Has anyone successfully implemented direct ServiceNow ticket creation from a bot flow without an agent screen pop? Are there specific permission sets required for the bot user role, or is this a known limitation of the bot execution environment?