Kindly
Kindly is an AI chatbot provider that automates support and sales. By combining the power of Regal and Kindly, you can offer 24/7 automated support and sales to enhance customer experiences and drive more sales using SMS.
To set up your Kindly.ai integration with Regal, please submit a Regal support ticket.
Create Regal Application Integration in Kindly.ai
- Navigate to the Kindly.ai workspace you'd like to connect to Regal
- Click on the "Connect" page

- Click on "Applications"
- Select "New Application" and name it "Regal"
- Enter the URL provided to you by Regal
- Click "Create Application"

- Copy the API Key and share it in a secure way with your Regal POC via the open support ticket
- You can use https://pwpush.com/ to share your API key
Add Fallback Dialogue to Transfer to Agent In Regal
- Navigate to "Build" where we will configure the fallback dialogue
- Click on "Dialogues" on the left hand side
- Select the "+" button to create a new Dialogue
- Click on "Fallback" to create a new Fallback Dialogue

- Within the new Fallback Dialogue, add "TRANSFER TO HUMAN" under the Bot Reply

- Click "Save"
Before moving onto the next section, wait for Regal to confirm they have added the Application API key to the backend
Create Regal Journeys
There are a minimum of two Journeys you will need to build in order to post inbound messages from Regal to Kindly.ai and a second journey to listen to Kindly.ai events and ultimately send outbound message to the contact.
Sending Inbound SMS to Kindly.ai
- Create a new journey
- Set the trigger to the Regal event called
sms.received
This will trigger the journey anytime an SMS is received in Regal so you'd likely want to add additional filter criteria to the trigger to prevent unintended messages
- Add in a "Cancel Task" action node and select "Task Type" & "Inbound SMS" to prevent the inbound SMS from being assigned to an agent
- Add a "Webhook" action node to send the reply to Kindly.ai
- Name: Kindly.ai - Send Message
- Endpoint URL:
https://bot.kindly.ai/api/v1/send
- Method: POST
- Custom Headers:
- Authorization: Bearer {{Your Kindly Regal Application API Key}}
- Content-Type: application/json
- JSON Payload:
-
{ "user_id": "{{contact.externalId}}", "message": "{{event.properties.content}}", "language_code": "en" }
-

Receiving Kindly.ai Events and Sending them via Regal SMS
-
Create Kindly.ai response SMS campaign
- The message content will only contain the dynamic variable:
{{{contact.customProperties.kindly_last_response}}}
- The message content will only contain the dynamic variable:
-
Create a Kindly.ai "Transfer to Human" agent SMS campaign or outbound Call campaign
- This campaign will be used in the journey to prompt the agent to outreach to contact if Kindly.ai is not able to handle the inbound message
-
Create a new Regal journey and name it however you'd like
-
Set the trigger to the "Kindly Bot Response" custom event
-
Add a "Conditional Match" logic node
- Name: Kindly - Transfer to Human?
- Condition Type: Triggering Event
- Property Name: properties.kindly_last_response
- Operator: Equals
- Property Value: TRANSFER TO HUMAN
-
Add the automated SMS campaign for the automated response for the "No" path
-
Add the agent sms or call campaign for the "Yes" path
-
Save the journey as live

Test your integration thoroughly to ensure everything is working as expected
Updated 4 months ago