Zapier

In this article, we will guide you through how to use the Dust block in Zapier to automatically trigger your Dust Assistant from any other application.

In this article, we will guide you through how to use the Dust block in Zapier to automatically trigger your Dust Assistant from any other application.

1. First, go to Zapier and create a new Zap

Create a new Zap on Zapier, and choose what event should trigger your Dust Assistant.

A common example of a trigger for a Dust Assistant is: A new row inserted in a Google Spreadsheet

2. Add your Action event

  • To do so, search for Dust among Zapier integrations:
    Screenshot 2024-06-17 at 16.27.46.png

  • Then in the App & eventtab, select “Talk to an Assistant”:

  • In the Accounttab, follow the instructions to connect Zapier with your Dust account: you will need your Workspace ID (which can be found in your Dust tab URL, right after dust.tt/w/), as well as your Dust API key, which can be found in *Build > Developer Tools > API Keys > Create an API Key*
    Screenshot 2024-06-17 at 16.31.27.png

  • In the Actiontab, you’ll be prompted to fill the following fields:

    • The message to send to the Assistant: this is the message to send to the assistant
    • Timezone: this is the timezone in which you want to operate, you can choose from the list (eg: Europe/Paris or America/Los_Angeles)
    • username: put the name to be displayed in the conversation. eg: Daily summary Zap
    • email: This one is optional, put an email if needed.
    • Assistant: Select the name of your Assistant from the list. Your Dust Assistant must be a "Shared" or "Company" Assistant. Personal Assistants are not visible in this list.

5. Run the Tests, and Publish your Zap

You’re all set!

Once launched, new content in the Trigger will automatically run your Assistant. To extract the output of the Assistant and send it to your next block, you must use the AgentMessage property from the Dust block.