Gear Up Your AI: Fine-Tuning LLMs
August 3, 2022

How to Integrate Clarifai Apps Using Zapier

Table of Contents:

Why Zapier and Clarifai

You don't need to be an AI expert to use AI for your business or services, and you don’t need to build complex model deployment, model hosting, and front-end tools for AI apps from scratch. You can “glue” together different tools you already have with Clarifai using Zapier in just a few minutes. Let’s walk through these easy steps so your business can become AI-enabled too.

Zapier is an online automation tool that allows you to connect different applications, that do not have native integrations. For example, you can make Gmail, Dropbox, Pipedrive, Slack, and thousands of other applications work with each other in creative ways. These integrations, called Zaps, execute one or more actions when a certain event happens. For example, you can post something to Twitter (an action) when you add a file in Google Drive (an event). To get more information about Zapier, you can watch Zapier 101 here.


Clarifai offers a leading platform for building AI-powered software solutions. Clarifai supports the full AI development lifecycle; including dataset preparation, model training, and deployment. Clarifai specializes in deep learning models used for understanding unstructured image, video, text, and audio data. Clarifai is on a mission to bring The World’s AI to developers everywhere.

What Clarifai integration does

Clarifai integration with Zapier currently allows you to apply AI to any media pulled out of an application by Zapier. This includes:

  • Recognizing things in an image (using our model with more than 9,000 concepts)
  • Moderating text (by detecting its sentiment like “toxic”, “obscene” and others)
  • Recognizing text in an image (optical character recognition)
  • Detecting NSFW content in the workspace (e.g. Slack)
  • Adding inputs to your Clarifai applications from dozens of sources


These actions allow you to build powerful workflows within a couple of minutes. For example, you can add inputs to the Clarifai application by uploading files to Dropbox or you can notify Slack admins if NSFW content has been posted in the chat channels.


You can run these actions and more using free Clarifai and Zapier accounts which you can create using the guide below.

How to create a free Clarifai account

Go to the sign-up page, enter your login details, and press “Sign up”. After verifying your email, you will be redirected to the Portal. Portal is the place where you can create and configure AI applications using dozens of pre-built models (now with hundreds more from the AI Community).


When you log in to the Portal the first time you will have an Application created for you called “my-first-application”. Application is like a project where you can manage the model, the data used for additional training, and your concepts, should you need any. The good thing is that you do not need to train your model, but you can use one of many readily available. In fact, “my-first-application” is backed by a state-of-the-art image recognition model already and it’s fully production-ready. That’s what we will use for Zapier in just a second.


How to use your Clarifai application from Zapier

First off, go to the Zapier registration page and create a free account. After that, you will see a dashboard with your Zaps. In our example, let’s build an automation that runs image recognition for new images uploaded to Dropbox. Hit “Create Zap” and let’s get started with leveraging AI:


In the event, select Dropbox and “New file in folder”. This will trigger our automation every time there’s a new file in the folder you will select later. Press “Continue” and Zapier will ask you to connect your Dropbox account.


After you have done so, we can move to configure an Action. Here we will use the Clarifai account you created before. In the app field, search for “Clarifai” and in the action select “Recognize Image”.


Press “Continue” and Zapier will ask you to connect your Clarifai account. For connection it will ask you for a Personal Access Token (PAT) and here’s how you can get one. Go to Clarifai’s User settings’ “Security” section. There you will find a “Create Personal Access Token” link.


Call this token “Zapier integration token”, select “All scopes” and press “Confirm”. Now you will be able to copy the token from the list below and paste it into Zapier's login form.


When your account is connected, press “Continue” and proceed to set up the Action. Select “Direct Media Link” in the Image URL and select “my-first-application” from the Application dropdown. As noted before, the pre-created application in Clarifai Portal is ready to be used right away.


Now you can upload some files to Dropbox to test the connection. In our example, we used a stock image of a mountain.


When the file is ready, you can press “Test & Continue” in Zapier. You should see the labels as an output of the “Recognize Image” step.


Now you can get creative and decide what to do with the labels. You can simply add them to the Google Sheets or you can create a Slack notification. Your call!


You can easily add conditional logic as a “Filter” step if you want to execute the next step (e.g. send a Slack message) only if the labels contain certain words.


When you are satisfied with the result, press “Publish” and your Zap will become live. Note that a free Zapier account is limited to how many times per month a single Zap can run and how many steps a single Zap can have. Either way, now you can leverage Clarifai’s AI platform to integrate AI models into thousands of other applications via Zapier and it takes only a couple of minutes to start!


To use Clarifai integration with Zapier yourself, start here.

Explore Clarifai Community!

Explore 1000s of pre-trained models from Clarifai and other leading AI builders. Build, share and reuse models and workflows with other community members.

Start browsing today