How do I hook up a button in workshop to send a prompt to AIP Assist?

Hey everyone. I’ve heard that you can use configure a button in workshop with a variable prompt so that when someone clicks on the button, it opens up the AIP assist pop-out. How do I do this?

To connect a button to send a prompt to AIP Assist in Workshop, you need to use the “Send to AIP Assist” event. This event can send either static text or the value of a string variable to AIP Assist and automatically run the query. When this event is triggered, the AIP Assist sidebar will automatically open if it is not currently open.

Here are the steps to configure a button to trigger this event:

  1. Add a Button Group to your Workshop module.
  2. Single-click on the Button Group within your on-screen module to open the widget’s configuration panel on the right-hand side of your screen.
  3. In the Buttons section, adjust the Text, Intent, Left icon, and Right icon options to control the display of your button.
  4. Proceed to the On click section to connect your intended action. Click into the Select an event… dropdown and then filter to and select the “Send to AIP Assist” action.
  5. Set the Parameter defaults. You can set a default value equal to a variable in the Workshop module or leave no default.

Please see the docs for the AIP assist event in Workshop:
Workshop • Events • AIP Assist

2 Likes