Turn broken Warmforge mailboxes into Linear tickets

By General Input

Every four hours, catch Warmforge mailboxes that fall over, open a Linear ticket for the deliverability team, and ping the on-call Slack channel.

Integrations

  • Warmforge
  • Linear
  • Slack

Type

Agentic Task

Categories

  • Operations
  • Sales

Build me an agent workflow that runs every four hours to catch Warmforge mailboxes that have fallen over and open a Linear ticket so the deliverability team can react. A Slack ping alone gets ignored, so a ticket must own each fix.

Trigger: cron, every 4 hours.

What the agent should do on each run:

1) Use Warmforge List Mailboxes to pull mailboxes with status disconnected, then again with status suspended. Warmforge's documented mailbox status filter values are warm, pending, disconnected, suspended, and all, so those two calls cover every broken state.

2) For each broken mailbox, call Warmforge Get Mailbox to grab full context: workspace, provider (Google, Microsoft 365, or SMTP/IMAP), last successful warmup date, and any campaign attachment info.

3) Before filing anything, dedupe. Use Linear Search Issues to look for an existing open ticket that mentions the mailbox address in the title or description. If one already exists, skip that mailbox and move on. This is what keeps the same broken mailbox from spawning a new ticket every four hours.

4) For each newly broken mailbox with no existing ticket, use Linear Create Issue in the RevOps team (or whichever team the user picks at setup). The title should include the mailbox address, for example "Warmforge mailbox disconnected: jane@acme.com". The description should capture the workspace, provider, current status, last successful warmup date, and the likely cause based on provider and status: expired OAuth for Google or Microsoft 365, revoked IMAP/SMTP credentials for SMTP mailboxes, or a Warmforge-side suspension. Set Linear priority using the priority integer: 1 (Urgent) if the mailbox is currently attached to active campaigns, 2 (High) otherwise, and 3 (Normal) if there is no campaign attachment info available.

5) After each ticket is created, use Slack Send a Message to post to the on-call channel the user specifies. The message should include the mailbox address, the reason it broke, and a direct link to the new Linear ticket so the on-call engineer can jump straight in.

Inputs the user should configure at setup:

- Warmforge workspace ID to monitor (or all workspaces if their key allows it).

- Linear team where deliverability tickets should live, and an optional default assignee.

- Slack channel for the on-call ping.

Operations to use: warmforge.List Mailboxes, warmforge.Get Mailbox, linear.Search Issues, linear.Create Issue, slack.Send a Message. Keep the run quiet when nothing is broken: no ticket, no Slack ping.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentWin back LiveChat visitors whose chats went unansweredChat quality review board for LiveChat support leadsWin back no-show and cancelled appointments every morningLive Loop returns analytics with product-level drill-downNewsletter pre-flight and approval board for Mailjet sendsTurn a prospect spreadsheet into personalized sequence enrollmentsMailjet email delivery lookup console for support teamsCatch feature flags that never got switched on in productionKajabi customer support console for member access fixes