Posted

on
May 8, 2024

Automate ACF Custom Posts & Fields from Google Sheet with REST API & Activepieces For FREE

Video Tutorial
  1. Understanding sources
  2. Create Custom Post Types
    • Turn ON REST API in advanced settings
    • contractor-directory (or any new/custom or existing post directory appended to wp-json/wp/v2/
  3. Create Custom fields
    • Turn ON REST API in advanced settings
    • Keep track of your custom fields name (including the _ if 2 words for example street_address)
  4. Install JSON Plugin
  5. Activepieces
    • Decide on trigger (in this case, schedule every minute)
    • Add Google Sheets, authenticate, and decide on method. ‘Get Next Group of Rows’ works well
    • Authenticate WP in Activepieces
    • Add JSON body, post status in the custom API post
    • Test Data push
{
"title": "",
"content": "",
"acf": {
"street_address": "",
"city": "",
"state": "",
"website_url": "",
"phone": ""

}
}

Brendan O'Connell

Brendan is a longtime WordPress user and has built and managed hundreds of websites over the last decade.

Recent Posts

You're still here? Wow, dedication. Here are some of my latest ramblings.