Introducing the Griptape Zapier Integration

Hello, Griptape Community! We're thrilled to announce the launch of the Griptape Cloud Zapier Integration, a game-changer for both developers and non-technical users that want to quickly exploit the power of Generative AI to supercharge their workflows with intelligent automation. 

The Griptape Cloud Zapier Integration is designed to simplify the process of building applications that use the capabilities of Griptape Cloud. Whether you're a seasoned Zapier user or just starting out with the popular workflow automation tool, this integration makes it simple to automate your workflows and boost your productivity with Generative AI.

Why Griptape Cloud?

Griptape Cloud is your go-to platform for delivering LLM-powered solutions quickly and efficiently. It provides a comprehensive suite of tools and services that make it easy to build conversational and event-driven AI applications. With Griptape Cloud, you can harness the power of LLMs while maintaining strict control over data security and privacy. It's modular, composable, and designed to integrate seamlessly with your existing infrastructure.

The Power of Zapier

Zapier is a leading automation platform that connects over 7,000 apps, allowing you to automate workflows without writing a single line of code. With Zapier, you can create "Zaps" that trigger actions in one app based on events in another. This makes it incredibly easy to streamline processes and automate repetitive tasks, even more so when you start to inject Generative AI into your workflows.

Griptape Cloud + Zapier: A Perfect Match

The Griptape Cloud Zapier Integration brings together the best of both worlds. By connecting Griptape Cloud with Zapier, you can automate complex workflows that involve data processing, require AI-driven insights, and more. This integration empowers you to build applications that are not only powerful but also easy to manage and scale.

Example Workflow: Email Summarizing Assistant

To illustrate the potential of this integration, let's walk through a sample application: an email summarizer. This application uses Griptape Cloud to summarize incoming emails in Gmail, providing a concise summary of each email, highlighting the actions that you might want or need to take, and pulling out key dates or deadlines from each email. The summary  is then delivered directly into Slack, ensuring you never miss an important detail, and that you rarely have to open up your Gmail inbox. Allowing you to change your mindset from Inbox Zero, to Inbox my-agent-will-highlight-the-import-stuff. 

We’ll start by creating a Griptape Cloud Assistant that will summarize our email. To guide the behavior of the Assistant, we will create a Ruleset. Updating the Rules in this Ruleset later will allow us to modify and evolve the behavior of the Assistant. Here is an example Ruleset that you might want to try, but you can customize this, or try your own depending on the specific summarization approach that you would like the Assistant to take.

  • Extract dates and deadlines: Clearly state if there are any dates or deadlines mentioned in the email. If there are upcoming dates or deadlines, use the DateTimeTool to calculate how many days or weeks they are in the future and state this in your response. Always calculate the date or time difference in comparison to the current date and time. Get the current date and time with the datetime tool.
  • Say whether I need to take action: Append the following information to the summary: Do I need to take any action based on this email?
  • Say whether I need to respond: Append the following information to the summary: Do I need to respond to this email?
  • Say who email is from and to: Always start by stating who the email is from and who it was sent to
  • Email summarizing agent: You are an email summarizing agent. You role is to read email, summarize the content and pull out key facts. Refer to your rules for the mandatory information that you must provide with each summary

Lastly, we will equip the Assistant with an important tool. Tools can be used to extend the capabilities of the LLM powering our Assistant. In this case, we will add a Tool that improves date and time handling. This will help the Assistant to accurately work with dates in emails, such as upcoming events or deadlines.

Once we’re done with the Griptape Cloud configuration, let’s jump over into the Zapier console and create our Zap. This is all we need to get things finished up and working. The steps do this are as follows:

  1. Configure the trigger event in our Zap to run our Assistant whenever we receive a new email in our Gmail inbox. If your Zapier account is not authorized to access your Gmail via your Google account, you will be prompted to provide authorization during this step. 
  2. The next step in our Zap will be the trigger that runs the Griptape Cloud Assistant that we created earlier. To set this up, click on the second action box in your Zap and enter Griptape in the search box at the top of the app selection pop up that appears. In the Action event field in the ‘Create Assistant Run’ panel on the right, select Create Assistant Run and then Continue. In the
  3. In the Configure step that appears in the panel, select the Assistant that you created on Griptape Cloud just a few minutes ago.
  4. In the Input field in the same panel, enter the field headings, To:, From:, Date:, and Body:, and then use the press / for the field mapping function and in the same field to insert the corresponding fields from the Gmail event alongside the field headings.
    • To: [Raw Payload Headers To]
    • From: [Raw Payload Headers From]
    • Date: [Raw Payload Headers Date]
    • Body: [Body Plain]
  5. As we completed the remainder of the configuration for our Assistant in Griptape Cloud, we can simply click Continue once the Input field is complete with these details. Next click ‘Test step’ and this will run the Assistant with a test payload. The Output Value will display the result of the Assistant run.
  6. Lastly, we set up our Slack event by clicking the plus sign at the bottom of the two existing steps to add the final step of our Zap. Select Slack from the apps panel. For the Action event select ‘Send Direct Message’. If you do not yet have your Slack Account configured in your Zapier account, you will be prompted to authenticate it now. Select the target recipient in ‘To Username’ field and in the ‘Message Text’ field press / to activate the field mapping function again and select the ‘Create Assistant Run in Griptape’ option from the menu that appears, and then select Output Value from the menu and click Continue. Next, click Test Step and you should receive a message over in Slack a moment later. Once you have this click Publish to make your Gmail to Griptape to Slack workflow active.

How to get started

Ready to dive in? Here's how you can get started with the Griptape Cloud Zapier Integration:

  1. Sign Up for Griptape Cloud: If you haven't already, sign up for Griptape Cloud to access its powerful features.
  2. Explore Zapier: Familiarize yourself with Zapier's automation capabilities and explore the vast library of apps you can connect with.
  3. Create Your First Zap: Start by creating a simple Zap that connects Griptape Cloud with another app of your choice. Experiment with different triggers and actions to see what's possible.

The Griptape Cloud Zapier Integration is a powerful tool that can transform the way you build and manage applications. By combining the strengths of Griptape Cloud and Zapier, you can automate workflows, enhance productivity, and unlock new possibilities for innovation. We can't wait to see what you'll create!