Latenode

Automate blog publishing with AI-generated content and CMS integration

This template turns a topic webhook into a WordPress.com post. Perplexity gathers sources, ChatGPT writes title, excerpt, slug, and HTML, and JavaScript assembles the body.

WordPress.com publishes, then Gmail and Slack send the live URL and Notion stores the row. Connect WordPress.com, Gmail, Slack, and Notion. ChatGPT and Perplexity are Latenode AI steps, so you do not paste an OpenAI key.

Updated Sep 16, 2026Est. run: 38sEst. cost: $0.0024
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Researches with Perplexity and drafts with ChatGPT, then publishes to WordPress.com
  • Starts when you send a topic to the webhook
  • Emails and Slacks the live post URL
  • Archives title and URL in Notion

How it works

1
Trigger

Receive the topic

A webhook starts the scenario when you send a topic.

2
AI

Research and draft

Perplexity returns citations. ChatGPT writes the SEO title, excerpt, slug, and HTML.

3
Logic

Assemble the post

JavaScript builds the HTML string WordPress.com will publish.

4
Action

Publish and notify

WordPress.com creates the post. Gmail and Slack send the live URL. Notion adds the archive row.

Setup guide

1

Add the webhook

Add a webhook trigger and copy its URL. Send a JSON body with a topic field when you want a new post.

2

Connect WordPress.com

Add a WordPress.com connection for the site that should receive posts.

3

Connect Gmail, Slack, and Notion

Add Gmail, Slack, and Notion connections. Pick the Slack channel and the Notion database that should get the published URL.

4

Wire research, draft, and publish

Map the topic into Perplexity, pass the research into ChatGPT, assemble HTML in JavaScript, publish with WordPress.com, then send the URL on Gmail and Slack and create the Notion row. ChatGPT is a Latenode AI step.

Requirements

A webhook URL you can post a topic to
A WordPress.com site Latenode can publish to
Gmail, Slack, and Notion connections for the notice and archive row
ChatGPT and Perplexity available as Latenode AI steps

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work. Plug-and-Play AI nodes are billed separately.