Create a Dust App
First, create a Dust App with an “Input” block. The input block will be responsible for collecting the data required to create the calendar event. After clicking on “Create dataset” we can start filling the expected data schema. The description for each field is very important, as this is what the AI model will use to understand what should go in each of the field. You should then add some test values in the “Data” section — these will be used to test your Dust App before making it available to a Dust agent.Create a Zap
On Zapier, we create a new Zap. The Zap should use the “Catch Hook” webhook trigger: this is how your Dust App will be calling your Zap. Once the Zap trigger is created, go to the “Test” tab and copy the webhook URL to your clipboard.Call your Zap from your Dust App
In your Dust App, add a CURL block as pictured above. The CURL block is used to call your Zap’s webhook trigger. Once you have pasted the webhook URL of your Zap and filled-in thebody section of the block with all the required parameters, you can run your Dust App.
To make it easier, you can simply copy and paste this code into your CURL block body section:
Create the Calendar Event from Zapier
After running your Dust App, you can go back to your Zap. In the “Test” tab of your webhook block, you can now click on “Test trigger”, and you should see that the webhook event sent from Dust has been detected by Zapier. You can now click on “Continue with selected record”. We’re now ready to add the Google Calendar action in Zapier. You should pick the “Create Detailed Event” from the Event dropdown. Next, you should connect your Google account from the Account tab if not already done. Now, navigate to the Tools tab and fill in all the relevant fields using the values from your webhook. Finish adding all the values, including theAttendees field using the guests value from your webhook.
You can now test the Zap Google Calendar action. If everything went according to plan, you should see something similar to the picture above, and your test event should be created in Google Calendar.