Chatwith & Slack for AI chatbot for product issue reports

Chatwith and Slack: AI chatbot for product issue reports
Slack
·
2/14/2024
·
5 min. read

Chatwith is a chatbot builder that lets you train bots on your files and websites to respond to customer queries 24/7.

Connecting this app to Albato enables your website's chatbot to answer questions about your business or online store and submit user bug reports automatically in a Slack channel.

Read on to learn how to implement this use case!

Create automation scenario

Sign in to your Albato account and click the Create new automation button.

Select Webhook in the first automation step, choose the Incoming webhook event, and create a Webhook access or connect your Webhook account to Albato. Then, click the Add a trigger button.

Copy the provided Webhook URL.

Kl&Wc (2).png

Sign in to your Chatwith account, click on the Actions button in the left sidebar. In the window that appears, click Install on the webhooks card.

Chatwith (2).png

A popup will open. Here, we will enter the Webhook URL and define the values that our chatbot should collect and send to the webhook.

For our chatbot, we want to get the user's first_name and email, as well as the answers related to the issue reported, that is answer1 (issue description) and answer2 (relevant links). Let’s define the payload as such:

Chatwith (3).png

Click Send test payload and you’ll see the payload show up in Albato, confirming the establishment of a connection between the services.

Chatwith (4).png

To ensure the chatbot uses this new Action correctly, let's include instructions before returning to Albato and completing the scenario.

Use this action to register users' bug reports and suggestions for product updates. Always require the user's first name and email. Ask the first question to find out more details about the issue. Then ask the user if there is any relevant link related to this issue report.

Chatwith (5).png

After establishing and testing the connection between Chatwith and Albato, we can now proceed with the next steps in Albato's automation builder.

Select Slack as the next step in the automation with our webhook, choose Send a message to a channel as the action and, when prompted, authorize Albato to connect with Slack and access the necessary resources.

Chatwith (6).png

Then, map the value received from Chatwith through the Trigger to the Action. At the end, save, test, and start the Scenario.

Chatwith (8).png

Updating the System Prompt

To ensure that our chatbot is aware of its new role, we need to update the System Prompt:

  • In Chatwith, select Settings in the navigation sidebar.
  • Locate the System Prompt field.
  • Update the field with the following instructions:

Your task is to collect users' bug reports and suggestions for product updates and send them to Slack. Ask the user for his name and email. Then ask for a description of the issue and links that may be relevant.

Make sure to save the changes once you have finished updating the System Prompt.

Testing

We are ready to see how our upgraded chatbot performs! Head on to the Preview section in your Chatwith account and try asking the chatbot for product issue report:

Chatwith (7).png

Congratulations! Your chatbot has a new superpower now!


Slack