Hi guys! 👋

This time we're going to learn how to automatically update a WordPress post with a fun video! For this use case, we decided to do a Countdown for a Webinar scenario. Let's start! 😉

Add Meta Date Column

First thing first, You need to add a Meta_Date column to your spreadsheet. This will be the date in which your WordPress post is meant to be updated! Just added it after all the other columns as shown in the image below:

Step 1: Select Every Day trigger

Start by setting up your trigger in this case, your going to choose Schedule by Zapier and under Trigger Event your going to choose Every Day.

Step 2: Set up action

Make sure you activate the trigger on weekends, if that's what you wish for, by selecting yes and the Time of Day you want. In this case, we selected 10am.

Step 3: Select Lookup Spreadsheet Row in Google Sheets

Now to the next action, select Google Sheets in the Choose app & event section and continue to look for the Lookup Spreadsheet Row under Action Event.

Step 4: Set up action

Make sure you select the correct Spreadsheet and Worksheet. Under Lookup Column and Lookup Value choose the options you can see below:

The other sections that you can't see here remain the same or in other words, leave empty.

Step 5: Select Custom Request

This will be your third action and for this one, you'll need to choose Webhooks by Zapier and under the Action Event select Custom Request.

Step 6: Set up action

Make sure you follow the following format to set up your action correctly! Below you'll find the URL needed to continue:

https://api.woxo.tech/video/native/generate

Select Data

{ "data": [{ "Media 1": "2. Media 1:https://vod.fro…to-6953868.jpeg", "Media 2": "2. Media 2:https://vod.fro…59957833.sd.mp4", "Media 3": "2. Media 3:https://vod.fro…to-5122169.jpeg", "Text 1": "2. Text 1:Don't miss out…month's Webinar", "Text 2": "2. Text 2:Register Now ", "Text 3": "2. Text 3:Almost out of free places!", "Title 1": "2. Title 1:10 DAYS LEFT", "Title 2": "2. Title 2:Last chance:", "Title 3": "2. Title 3:They smashed it…omething great?", "TextPosition": "2. TextPosition:Centered", "TextColor": "2. TextColor:rgba(255, 255, 255, 1)", "BackgroundColor": "2. BackgroundColor:rgba(74, 144, 226, 1)", "TextStyle": "2. TextStyle:Criss Cross", "Video Shape": "2. Video Shape:16:9", "Brand": "2. Brand:https://res.clo…ound_224x77.png", "Font": "2. Font:https://res.clo…Pro-Regular.ttf", "FontSize":"2. FontSize:10", "Transition": "2. Transition:random", "Music": "2. Music:https://res.clo…_The_126ers.mp3" }] }

Add Headers

Make sure you've put the correct team ID and API auth. token under Headers. If you don't know where to find these check out this tutorial. Also, add the Content-Type header along with application/json.

Step 7: Select Delay For

In this case, we decided to delay it for 2 minutes! However, you can choose your own value and unit.

Step 8: Select Get

For this one, you'll need to choose Webhooks by Zapier and under the Action Event select Get.

Step 9: Set up action

Here you just need to be aware of the URL. For this one, you'll need to change the last bit of it and add the Success Code from the second action (Custom Request).

Also, make sure you add the Headers again, same ones you used before and test!

Step 10: Select Update Post in WordPress

Continue to select Update Post under Action Event and connect it to WordPress. You'll need to connect it to your account next.

Step 11: Set up action

Make sure you select Posts under the Post Type option and continue to fill in this section according to where and how you want to update your WordPress post. Include the Data URL under Content.

As soon as you test the action, your post should be immediately updated in WordPress with the information you previously filled in just like shown below:

Check out the result in the WordPress blog.


If you've got any questions 一 really, any 一 don't be shy and just give a call out at our Support Chat or contact us at [email protected], we'll be more than happy to help you!

Did this answer your question?