Connect Gmail to WordPress
Ideas
What you can do with Gmail and WordPress
Draft a weekly SEO blog post and get the link by email
Each week the next keyword on your list becomes a WordPress draft, and an email with the edit link arrives in your inbox for review.
See how it worksTurn a document into a blog post you approve by email
Send a PDF to your trigger link and a WordPress draft is written from it; reply "approve" to the email and the post goes live.
See how it worksDraft WordPress posts from new feed articles with an email summary
New articles from your feeds become WordPress drafts written in your own words, and you get an email listing the drafts that were added.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Gmail and WordPress, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Gmail and WordPress automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Only create drafts from emails sent from my own address with the subject starting "Post:".
When a reply says "publish", publish the draft; any other reply updates the draft text.
Use cases
Why people connect Gmail and WordPress
How the two apps work together
- A check every few minutes reads Gmail for labelled emails or replies.
- The script creates or updates WordPress posts through the REST API.
- It sends drafts, digests or confirmations from your Gmail address.
Owners writing posts by email
An email to yourself becomes a WordPress draft. Posting is easy.
Editors approving drafts
Drafts are emailed and published on reply. Review is quick.
Site owners hearing about comments
New comments are emailed in a digest. Moderation is easier.
Bloggers getting performance summaries
A weekly email lists new posts. Progress is visible.
More apps
Gmail, WordPress and other apps in one automation
Post log
Log every post created from email to my Google Sheet.
Comment alerts
Email me a daily comment digest and post comments that mention "bug" to #support.
Polish drafts
Clean up my emailed drafts with OpenAI before creating the WordPress post.
Setup
Connect Gmail and WordPress once
Gmail
- At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
- Set up the OAuth consent screen. On Google Workspace choose Internal. On a personal Gmail account choose External, then under Audience click Publish app so it is In production, not Testing.
- Under Data Access, add the scopes you need, such as
https://www.googleapis.com/auth/gmail.modify, orgmail.sendif you only want to send. - Under Clients, create an OAuth client of type Web application with the redirect URI
https://clickruntime.com/oauth/callback. - In the ClickRuntime dashboard, open Connections, choose Gmail and enter the client ID and secret. On a personal account Google shows an unverified-app screen: click Advanced, then go to your app.
WordPress
CMS
- In wp-admin, go to Users and open your profile, or the profile of the user the automation should act as.
- Scroll to Application Passwords, type a name such as ClickRuntime, and choose Add New Application Password.
- Copy the generated password straight away, along with the WordPress username it belongs to.
- In the ClickRuntime dashboard, save the username and Application Password as a secret on Connections & secrets, together with your site address.
FAQ
Questions about connecting Gmail and WordPress
Which address are the emails sent from?
Can I approve a post by email?
Do I have to log in to WordPress to review?
What does WordPress need?
Can it upload images from attachments?
Can it moderate comments?
Can it set tags from the email?
Related pages
Keep exploring
Tell your assistant what Gmail and WordPress should do together
Free plan. No credit card.