Gmail
EmailFull Gmail integration for FlowRunner agents. Agents send and draft email, manage labels, save attachments to storage, and trigger flows on new messages, threads, and attachments.
What This Integration Enables
Agents send and draft email, send existing drafts, and delete drafts. They manage labels end to end: create labels, then add or remove them on messages for routing and organization. They read mail with Get Message and Get Messages List, and they mark messages read or unread. Delete Messages moves up to 15 messages to Trash, where Gmail keeps them for 30 days, so a cleanup rule that misfires can be walked back; the connector never deletes permanently. On attachments, agents get an attachment from a message and save it into flow file storage, returning its URL. Five triggers fire on new emails, new threads, new labels, starred emails, and new attachments. The connector covers the mailbox surface; the surrounding flow decides what gets processed, ticketed, or answered.
Without FlowRunner
With FlowRunner
Flows you can build with Gmail
-
Carrier Setup Packet Check
A carrier emails its setup packet as several attachments and Gmail fires On New Attachment. The flow calls Save Attachment for every PDF and image in the email, and an agent reads each file to find the W-9, the certificate of insurance and the operating authority. It checks for a signed W-9 with the legal name and TIN, insurance that lists auto liability and cargo coverage and has not expired, and an MC or DOT number. A packet with gaps gets a reply in the same thread, sent with Send Message, that lists what is still needed. A complete packet goes to the carrier setup lead in Slack to approve.
-
Quick Pay Request to AP
A carrier emails asking to be paid early for a fee, and On New Email fires. The agent reads the carrier, the load or invoice number, the amount and the fee the carrier accepts, then looks the load up in McLeod LoadMaster for its status and the agreed carrier pay. AP gets the request in Slack with the net amount and Approve and Decline buttons, and the carrier gets AP's answer as a reply in the same thread.
-
Signed Rate Con Filed and Checked
A carrier emails back a signed rate confirmation and On New Attachment fires. The agent saves the PDF, reads the load number, carrier, charges and signature, and files it on the load in McLeod LoadMaster. When the rate con is unsigned, names a different carrier, or its total does not match the agreed carrier pay to the cent, the carrier rep is asked in Slack whether to send it back. Send back replies to the carrier in the same thread with what to fix and asks for a corrected copy.
Human-in-Loop Highlight
Not every email fits a known pattern, and the agent does not improvise on the ones that do not. When a message arrives from an unexpected sender or carries an attachment outside the intake rules, the agent holds it rather than acting, applies a triage label, and routes it to a person via Slack: "Email from [sender] with subject '[subject]' does not match any intake rule. Process as [best guess], route elsewhere, or ignore?" The person decides. Recognized mail flows through automatically; the edge cases get a human in the loop before the agent commits to a path.
Agent Capabilities
15 actionsSending and Drafts
6- Send Message Composes and sends an email. Used to deliver acknowledgments, notifications, and transactional mail as a flow step.
- Create Draft Creates a draft email without sending it. Used to prepare a message for human review before it goes out.
- Send Draft Sends an existing draft. Used to release a reviewed draft once it is approved.
- Delete Draft Deletes an existing draft. Used to clear drafts that are no longer needed.
- Get Drafts List Lists existing drafts. Used to review pending drafts in a review flow.
- Delete Messages Moves up to 15 messages to Trash, where Gmail keeps them for 30 days before removing them for good. Permanent deletion is not available: turning on Delete Permanently makes the action fail before any message changes. Used in cleanup flows under a defined rule, with a 30 day window to recover a message the rule should have skipped.
Reading Mail
4- Get Message Retrieves the content of a single message. Used to read an email body for extraction or ticketing.
- Get Messages List Lists messages matching a query. Used to enumerate mail for batch handling or reporting.
- Mark Message as Read Marks a message as read. Used to reflect that a flow has handled a message.
- Mark Message as Unread Marks a message as unread. Used to flag a message back for human attention.
Labels
3- Create Label Creates a new label in the mailbox. Used to stand up the triage, handled, or routed labels a flow applies, so the labeling scheme exists before the first message needs it.
- Add Label To Message Applies a label to a message. Used to mark threads as handled, triaged, or routed.
- Remove Label From Message Removes a label from a message. Used to clear a status once it no longer applies.
Attachments
2- Get Attachment Retrieves a single attachment from a message. Used to pull one specific file for processing.
- Save Attachment Saves an email attachment into flow file storage and returns its URL. Used to move a file from the inbox into a processing pipeline without a manual download.
Triggers
5 triggersEvent Triggers
5- On New Email Fires when a new email arrives matching the configured criteria. Initiates flows that read, ticket, or acknowledge inbound mail.
- On New Attachment Fires when a new email arrives carrying an attachment. Initiates intake flows that save the file and pass it to processing.
- On New Thread Fires when a new email thread begins. Initiates flows that capture a new conversation, such as logging a sender to the CRM.
- On New Label Fires when a new label is created. Initiates flows that react to organizational changes in the mailbox.
- On Email Starred Fires when a message is starred. Initiates flows that act on messages a human has manually flagged.
Frequently asked questions
What can FlowRunner do with Gmail?
FlowRunner agents can run Get Messages List, Get Message, and Send Message in Gmail, plus 12 more actions.
Does connecting Gmail to FlowRunner require OAuth?
Yes. Gmail connects to FlowRunner with OAuth 2.0, so agents authenticate without handling raw credentials.
Can Gmail trigger a FlowRunner workflow automatically?
Yes. Gmail supports 5 triggers that can start a FlowRunner workflow automatically.
Start building with Gmail
Free plan, no card required. Connect in minutes.