Component Actions

This page contains all available Component features available in Mind Expression.

Configure a response

A response can be configured by clicking on Add Action in the Conversation Panel as seen in the image below.

A component is required before being able to configure a response using Add Action except if the subject type is a Q&A.

Check Step

The check step is used to gather information from the user either by asking a question or using response templates such as cards and quick replies.

Action Settings > Customer: Check Step

  1. Introduction to show before the prompt - the text or instruction that will be displayed before asking the user for a response. This text box is optional.

  2. Prompt - the text box which contains the question being asked to the user. This textbox is required.

  3. Custom Fallback for Irrelevant Input (Optional) - the message that will appear when the user inputs an invalid answer or the answer is not within the options presented.

Action Settings > Webhook: Check Step

  1. Webhook URL - where users can set the link of the webhook. The main URL must first be configured in the Webhook settings within the scope for it to be available in the drop down in action settings. See Set up Webhooks and Escalation

  2. Request Method - where users can choose how they want to interact with the Webhook; either GET or POST.

  3. Invalid User Input (HTTP 400) - where users can configure the message when the Webhook returns an HTTP 400 .

  4. Mapping - where the users can define the values that needs to be extracted from the response JSON in the Webhook.

    Key - declare the variable where the data is going to be stored. • JSONPath - name of the data in the JSON that is going to be assigned to the Key.

  5. Term matching - to extract value to match term literally

Confirmation Step

The confirmation step is used to capture a binary response from the user, most commonly, questions that can be answered with either yes or no.

Action Settings > Customer: Confirmation Step

  1. Introduction to show before the prompt - the text or instruction that will be displayed before asking the user for a response. This text box is optional.

  2. Prompt - the text box which contains the question being asked to the user. This textbox is required.

  3. Expected Response - the response needed to move forward with the conversation, aside from Affirmation and Negation statements, users can also set statements that can provide signal whether the conversation will move forward or not using Affirmation/Negation Statement to Recognize.

  4. Action on Opposing Response - where the users can configure what the CAI will do if the users provide an opposing response to the expected one.

    • Terminate - the conversation will end.

    • Try again - the AI will ask the previous questions again, what will be asked can be determined by which Binding Keys are gonna be reset.

  5. Message to Display on Opposing Response - the message that will be displayed when the user provided an opposing response to the expected one.

Action Settings > Webhook: Confirmation Step

  1. Webhook URL - where users can set the link of the webhook. The main URL must first be configured in the Webhook settings within the scope for it to be available in the drop down in action settings. See Set up Webhooks and Escalation

  2. Request Method - where users can choose how they want to interact with the Webhook; either GET or POST.

  3. Invalid User Input (HTTP 400) - where users can configure the message when the Webhook returns an HTTP 400 .

  4. Mapping - where the users can define the values that needs to be extracted from the response JSON in the Webhook.

    Key - declare the variable where the data is going to be stored. • JSONPath - name of the data in the JSON that is going to be assigned to the Key.

  5. What does the AI respond to the customer? - the message that the CAI will display to the user.

  6. Action on Opposing Response - where the users can configure what the CAI will do if the users provide an opposing response to the expected one.

    • Terminate - the conversation will end.

    • Try again - the AI will ask the previous questions again, what will be asked can be determined by which Binding Keys are gonna be reset.

  7. Message to Display on Opposing Response - the message that will be displayed when the user provided an opposing response to the expected one.

Show Response

Show Response is just a displayed message to show to the user and not expecting any response.

Action Settings > Customer: Show Response

  1. Response Template - the text box that contains the response of the CAI to the user.

Action Settings > Webhook: Show Response

  1. Webhook URL - where users can set the link of the webhook. The main URL must first be configured in the Webhook settings within the scope for it to be available in the drop down in action settings. See Set up Webhooks and Escalation

  2. Request Method - where users can choose how they want to interact with the Webhook; either GET or POST.

  3. Invalid User Input (HTTP 400) - where users can configure the message when the Webhook returns an HTTP 400 .

  4. Mapping - where the users can define the values that needs to be extracted from the response JSON in the Webhook.

    Key - declare the variable where the data is going to be stored. • JSONPath - name of the data in the JSON that is going to be assigned to the Key.

  5. Expected Value Matching Path - to extract value to match Expected Value literally.

  6. What does the AI respond to the customer? - the message that the CAI will display to the user.

Last updated