Trello Card from Email Intake
When an email arrives at a shared intake address, the flow creates a Trello card on the right list with the subject as title, body as description, and any attachments saved to SharePoint and linked on the card. Turns an inbox into a structured Trello queue.
Provided as-is, without warranty of any kind. Review and test each pattern in a non-production environment before deploying it to live automations. See our Terms.
Overview
This flow turns a shared email intake mailbox into a structured Trello queue. Each new email becomes a Trello card on a configured list - the subject becomes the card title, the sender and body preview become the description, and any attachments are archived to a SharePoint document library and linked back on the card via a comment.
Why it matters: requests that arrive by email to a shared inbox are easy to lose. This captures every one as a trackable, assignable Trello card, with supporting files preserved in a governed SharePoint location rather than buried in the mailbox.
Ships Off (demo).
Use Case
A team that runs its work on a Trello board but receives requests by email at a shared address wants each request captured automatically as a board card, with attachments retained in SharePoint. Typical adopters: operations queues, facilities/helpdesk intake, vendor onboarding, creative/work request boards.
Flow Architecture
Shared Mailbox New Email
Outlook - SharedMailboxOnNewEmailV2Fires once per new email in the shared intake mailbox (polling 3 min, splitOn); includeAttachments pulls attachment bytes inline.
Initialize Config & Accumulator
Initialize variable (x5)Binds board, list, SharePoint site and library path; seeds the archived-links string accumulator.
Compose Card Title & Description
Compose (x2)Title from the subject (placeholder if blank); description from sender, received time, and body preview.
Create Trello Card
Trello - CreateCard_V2Creates the card on the intake list.
For Each Attachment
Apply to each (concurrency 1)Writes each attachment's bytes to the SharePoint archive library and appends the file name + absolute URL to the accumulator.
Add Intake Comment
Trello - AddCommentToCardPosts an intake summary (sender + archived-attachment links) onto the card.
Environment Variables
| Schema name | Type | Default | Description |
|---|---|---|---|
| flowlibs_IntakeMailbox | String | intake@contoso.com | Shared mailbox address monitored for intake emails. |
| flowlibs_TrelloBoardId | String | REPLACE_WITH_TRELLO_BOARD_ID | Trello board that owns the destination list. |
| flowlibs_TrelloIntakeListId | String | REPLACE_WITH_TRELLO_LIST_ID | Trello list id where new intake cards are created. |
| flowlibs_SharePointSiteURL | String | https://your-tenant.sharepoint.com | SharePoint site hosting the attachment archive. |
| flowlibs_AttachmentLibraryPath | String | /Shared Documents/Email Intake Attachments | Server-relative library folder path for archived attachments. |
Connectors & Connections
| Connector | API name | Actions used |
|---|---|---|
| Office 365 Outlook | shared_office365 | SharedMailboxOnNewEmailV2 |
| Trello | shared_trello | CreateCard_V2 AddCommentToCard |
| SharePoint | shared_sharepointonline | CreateFile |
Note — All connections are referenced as solution connection references; the flow is portable between environments as long as a connection is mapped at import time.
Customization Guide
Almost every realistic variant of this flow can be implemented by changing environment variable values. A few cases require small edits inside the flow definition — those are called out explicitly below.
- Sender as a label
- Add a flowlibs_TrelloIntakeLabelId env var and pass it through idLabelsArray on CreateCard_V2, or build a sender-domain to label-id map.
- Routing by sender/subject
- Branch before Create Trello Card on the from address or subject keywords to choose a different list per request type.
- Due dates
- Parse a due date from the subject/body and set the card's due via a follow-up UpdateCard_V2.
- Dedup / threading
- Look up an existing card by a subject reference (e.g. [REQ-123]) and comment onto it instead of creating a duplicate.
- Auto-assign
- Add a member with AddMemberToCard based on the intake type.
- Attachment filtering
- Skip inline signature images by filtering the loop on IsInline = false or by content type/size.
Key Expressions
The flow is intentionally light on Power Fx / WDL gymnastics — the heaviest expressions are the branch-name concatenation and the approval outcome check. They are listed below in the order they appear in the flow.
EXPR.01Card title
Subject as title, with a placeholder fallback.
EXPR.02Card description
Sender, received time, and body preview.
EXPR.03Attachment loop source (null-safe)
Iterates attachments, empty array when none.
EXPR.04Write attachment bytes
Inline attachment bytes written straight to SharePoint.
EXPR.05Absolute SharePoint link
Builds the absolute URL of the archived file.
Comments
Sign in to join the conversation.
Sign inNo comments yet. Be the first to share your experience with this flow.