All use cases

Work

Gotcha: mail routines filter by sender or domain, so subject sorting goes in the prompt

You build a cold-pitch filter on subject lines and the routine never matches.

Share

What hurt

VibecodersHQ (@VibeCodrHQ) shared a gotcha for anyone building an email triage bot: Grok Bot mail routines filter by sender or domain, not subject line, so sorting cold pitches from humans has to live in the prompt. Then decide whether the bot should draft replies to the humans or just rank them. Not affiliated with xAI.

What to install or create

Use the trigger for who; use the prompt for what.

Bots

  • No new bot. Follow the first-run steps.

Plugins

  • None on day one. Follow the first-run steps.

Routines

  • Inbox triage. On new mail (sender/domain filter). Sort cold pitches vs humans by content; rank or draft.

The prompt

This is a tip, not a pasteable system prompt. The author did not publish one. Follow the first-run steps.

First run

  1. 1Read https://x.com/VibeCodrHQ/status/2110452008075546909 (credit @VibeCodrHQ).
  2. 2Set the routine's mail filter by sender or domain only (or leave it open).
  3. 3Put the sorting rules in the prompt: what counts as a cold pitch vs a real person.
  4. 4Decide: rank only, or draft replies to humans for your approval.
  5. 5Test with a few known cold pitches and real emails.

Approval fence

Drafted replies wait on a draft card for your approval.

What to tweak

Steal: sender/domain in the trigger, content rules in the prompt.

Source

VibecodersHQ @VibeCodrHQ · Original post

Not affiliated with xAI. We did not write this prompt. Third-party template terms still apply.

Browse templates

Browse team blueprints

Pro pack

Want the full setup, not just the idea?

Pro packs give you the job text, prompts, schedules and pitfalls for popular use-cases.

See Pro