tr Skip to content
Docs & Notes

Create text files in Google Docs for new Gmail emails that match a search

Matching Gmail emails are filtered, cleaned up with Text Formatter, and saved as Google Docs, building a searchable text archive of the messages that matter.

GmailGmail FilterFilter Text Formatter by FlowMatticText Formatter by FlowMattic Google DocsGoogle Docs
~8 min setup used by 3.4k sites

Free · import into FlowMattic in one click

How it works

Every step, explained

Import the template and this whole chain runs on autopilot — here's exactly what happens on each run.

Gmail → Filter → Text Formatter by FlowMattic
4 steps
Gmail
TRIGGER
Gmail · Send Email
The workflow starts automatically when send an email to the recipient in Gmail. FlowMattic captures that data for the steps below.
Filter
LOGIC
Filter · Continue If Condition Meet
The Filter only lets the run continue when its conditions are met.
Text Formatter by FlowMattic
ACTION
Text Formatter by FlowMattic · HTML to Markdown
Text Formatter by FlowMattic — convert HTML content to Markdown format with optional media library save. Data is mapped from earlier steps; connect your Text Formatter by FlowMattic account on import.
Google Docs
ACTION
Google Docs · Create Document
Google Docs — create a new Google Doc with optional content. Data is mapped from earlier steps; connect your Google Docs account on import.
Why this workflow

Built to own, not to rent

No-code setup

Import the JSON, connect your accounts, and go live in minutes. Every step is pre-mapped — you only add your own credentials.

Runs on your server

Self-hosted on your WordPress install. No per-task fees, no data leaving your infrastructure, no monthly SaaS bill.

Fully customizable

Open it in the visual builder and reshape it — add branches, swap apps, insert filters. A starting point, not a cage.

Ready to automate your WordPress site?

Download this workflow free, or grab FlowMattic and own every automation on your site — no per-task fees, ever.