This tutorial describes how to integrate Kore.ai bots with Blue Prism RPA services using the BotKit SDK. Conversation flows collect user intent and entities, then pass them to Blue Prism to automate backend business processes.Documentation Index
Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Integration Architecture
- A dialog flow hits a Webhook node, sending the context (intent, entities) to the BotKit SDK.
- BotKit invokes the Blue Prism Connector with the request.
- The connector triggers the RPA process on Blue Prism and receives the response.
- The response is stored in the dialog context as
ResponseFromBluePrismand used in subsequent dialog nodes.
Prerequisites
- Sign up for Blue Prism and define your automation processes.
- Download the Kore.ai BotKit SDK and update the integration details in
BluePrismConnector.js. - Enable RPA services on Blue Prism to accept external requests.
Integration Steps
- Create a Dialog task and build the conversation flow for your use case.
- Identify Webhook locations — places in the flow that need to invoke Blue Prism RPA services.
- Build the
BluePrismRequestobject using Script nodes before each Webhook node. - Add Webhook nodes at those locations. See Webhook Node.
- Review the request payload the Platform sends to BotKit.
- Use the response (
BluePrismResponse) in the dialog context for transitions and user responses.
Request Object
Populate the following structure in a Script node before the Webhook node:| Parameter | Type | Description |
|---|---|---|
operation | string | Name of the RPA process on Blue Prism |
url | URL | Service endpoint of the RPA process |
attributes | Blue Prism data types | Input data required to run the process |
Response Handling
Blue Prism’s response is stored in the dialog context atResponseFromBluePrism.
Sync mode — BotKit receives the response directly from the RPA service and passes it to the Platform.
Async mode — Blue Prism calls back to BotKit at:
<host>— Your BotKit server hostname (for example,platform.kore.ai).<requestId>— The unique request ID associated with the Webhook node invocation.
context.ResponseFromBluePrism in transitions, entity extraction, and user response composition.