Skip to main content
All CollectionsPopular Questions
Zapier integration with Spiritme
Zapier integration with Spiritme

How to automate video generation and posting with Spiritme's Zapier integration.

Vladimir Ivashkin avatar
Written by Vladimir Ivashkin
Updated over a week ago

What is Zapier?

Zapier is a platform that allows you to connect different services into a single workflow. Now that we're available on Zapier, you can automate the generation and posting of videos.

In Zapier, you can create Zaps. A Zap is an automated workflow that connects your apps and services together. Each Zap consists of a trigger and one or more actions. When you turn your Zap on, it will run the action steps every time the trigger event occurs.

At the moment, we support one trigger and one action:

  • Action: Generate video

  • Trigger: Avatar Video Completed

Let's see how this can work with an example.

Example Automation: Google Sheets -> Spiritme -> Buffer

We chose this example as both a basic and highly useful one. Many people use Buffer to automate posting to various social networks, so in this example, we suggest sending videos there.

Create a Spreadsheet in Google Sheets

Let's say we want to generate a hundred videos with different texts and then post them on TikTok. First, create a table in Google Sheets with a column named "text" and add one text example.

Create a Zap: Google Sheets -> Spiritme

Next, go to our page on Zapier, find the template "Generate Spiritme video for new rows added in Google Sheets," and click "Try it."

Here, the trigger is the addition of a new row in the spreadsheet, and the action is setting up the task to generate a video in Spiritme.

Follow the wizard, connect your Google Sheets account, select your spreadsheet and worksheet, and it should look something like this:

After completing the wizard, you will be prompted to test the trigger. You should see that Zapier found the test entry you added to the spreadsheet.

Next, you need to set up the "Generate video in Spiritme" action.

To log in, you will need an API key. Go to My Account, and in the API KEY section, click "Get key."

Copy the key you receive and paste it into the field in Zapier:

Then, fill in all the necessary fields for video generation. For each field, you can choose a fixed value from the list or a value from the spreadsheet. In this case, I chose a fixed avatar (Vicky) and voice (Paola [pro]), and took the text from the spreadsheet. When the videos are generated, only the values taken from the spreadsheet will change.

Test the action. Note that testing involves generating a video, so if you have a limited plan, it will deduct the seconds according to the length of the text sent for generation. Use short texts for tests!

Then, click the "Publish" button to start the Zap. After this, adding a new row to the spreadsheet will generate a new video.

Create a Zap: Spiritme -> Buffer

Now, select a new template on our page on Zapier: "Add completed avatar videos from Spiritme to queue in Buffer." This will allow us to take the generated videos and send them for posting.

Click on the "Avatar Video Completed in Spiritme" trigger to set it up first. Select your Spiritme account. This trigger contains a single parameter – Event type. Choose "API video completed." This means that each video generated through the API (in our case – the previously set up Zap) will trigger this Zap.

The Test section should contain previous videos you have already generated through the API or Zapier. Select one of them and click "Complete with selected record."

Now, set up the action. Log in to your Buffer account and fill in the necessary fields. Choose "Attachment: video," then in the "Video" field, select the "Result" field from the trigger:

Test and publish. Done!

After the test, the first draft video should appear in Buffer:

Result: Now we have two working Zaps – the first sends tasks for generation, and the second takes the finished videos and sends them to Buffer.

What else can you do in Zapier?

Zapier is a very flexible system and allows you to combine different triggers and actions. For example, you can fully automate video generation by generating text from ChatGPT (e.g. trigger: Timer, action: ChatGPT). Or, conversely, you can send links to generated videos to Google Spreadsheets to post the results manually later.

I'm in, but I need more minutes!

In that case, buy our unlimited plan! It is available here: Spiritme Pricing. And if you are a Sumo-ling, you have access to additional offers: AppSumo Upgrade.

Did this answer your question?