1
0 Comments

How to watch for new WordPress categories with WP-JSON and Integromat?

I need to watch for new categories being created in a WordPress install, and then do something with the term meta via Integromat.

I know Integromat has a "Watch Categories" trigger on the WordPress v2 connection, but this returns "rest_forbidden_context", probably due to a security setting, XML-RPC or something. And Integromat's v1 (legacy) connection doesn't have the equivalent trigger.

So I'm thinking about replicating "watch categories" by polling the WordPress install's API via WP-JSON.

The URL https://sitename.com/wp-json/wp/v2/categories returns a list of "Categories" terms in JSON, like this...

  [
    {
      "id": 8494,
      "count": 12,
      "description": "",
      "link": "https://www.sitename.com/category/slug-of-category-name",
      "name": "Title Of The Category",
      "slug": "https://www.sitename.com/category/slug-of-category-name",
      "taxonomy": "category",
      "parent": 0,
      "meta": [],
      "_links": {

etc.

Now, how do I identify a newly-added category using Integromat?

Perhaps I could use the HTTP connector? I just successfully used its "Make a request" action to GET https://sitename.com/wp-json/wp/v2/categories and automatically parse with "Parse response"...

img

This successfully returns a JSON obtain with 10 "data" nodes, one for each Category. But how I only use any that are new since the last check?

posted to Icon for group No-Code
No-Code
on November 20, 2020
Trending on Indie Hackers
I spent $0 on marketing and got 1,200 website visitors - Here's my exact playbook User Avatar 67 comments Veo 3.1 vs Sora 2: AI Video Generation in 2025 🎬🤖 User Avatar 31 comments I built eSIMKitStore — helping travelers stay online with instant QR-based eSIMs 🌍 User Avatar 21 comments 🚀 Get Your Brand Featured on FaceSeek User Avatar 20 comments Day 6 - Slow days as a solo founder User Avatar 16 comments Why I'm Done Juggling 10 SaaS Tools (And You Should Be Too) User Avatar 9 comments