Skip to content

Flag Vendor Bank Change Emails with a Grok Email Automation

What the source describes

xAI's announcement of Automations in Grok says an automation can run on an email trigger instead of a schedule. When an incoming email matches your filters on sender, recipient or subject, the automation fires with that email as context and Grok responds to the actual message, then saves the run to its history and reports back by email, app notification, both or neither. The FBI's IC3 recommends company policies that verify any change to existing invoices, bank deposit information and contact information, and contacting requestors by phone before complying with email requests for payments.

Result or outcome

According to the source, instructions can mention a connector with @ so Grok uses it on every run, and automations can also be created straight from chat, tested with Run now, and paused, resumed, edited or deleted at any time.

How to run it

  1. On grok.com or in the Grok app, open Automations, create a new automation and choose an email trigger instead of a schedule.
  2. Set the trigger filters to your AP inbox as the recipient and to subjects such as invoice, payment or bank.
  3. Paste the prompt on this page as the instructions, with your known vendor domains filled in, and choose app notification or email for results.
  4. Send a harmless test email that matches the filters, then open the run history to see what Grok flagged.
  5. For every REVIEW BEFORE PAYING result, hold the payment and confirm the change by phone at a number already on file before anyone edits the vendor record.

Try it yourself

Copyable prompt

This automation runs when an email arrives at [AP inbox address] with a subject containing invoice, payment, remittance, bank or ACH. Read the email and tell me, in three lines or fewer, whether it asks to change bank details, payment method, remittance address or contact details, or pressures us to pay urgently or quietly. If it does, start your reply with REVIEW BEFORE PAYING, quote the sentence that asks for the change, say whether the sender's domain differs from [known vendor domains], and remind me to call the vendor at the number on file. If it does not, reply with one line: no payment change requested. Never reply to the sender, forward the email, or repeat any bank details.

Replace the [bracketed] placeholders. Remove client names, account numbers, and personal data before pasting into any AI tool.

What to review

An automation that misses a cleverly worded request gives false comfort, so keep the phone check for every bank change whether or not Grok flags it. Review the run history weekly for misses, and check what inbox access the email trigger needs before you connect a shared AP mailbox.

Related free download: 50 AI Prompts for Bookkeepers (Prompt pack (PDF))

Source: xAI (Automations in Grok announcement); also FBI IC3 (business email compromise PSA, 2018)

Not professional advice. This is general information, not accounting, tax, legal or financial advice. Check AI output yourself and consult a licensed professional for your situation. See our Terms of Use.

This entry summarizes a public source. Features, plans, and availability change, so confirm details with the vendor. Tool names are trademarks of their respective owners.

  • Accounts Payable

    Check a Vendor's Status Before Paying with Grok Web and X Search

    The FBI's Internet Crime Complaint Center (IC3) describes a business email compromise scheme in which a business with a longstanding supplier is asked, by email, phone or fax, to pay an invoice to an alternate, fraudulent account. It advises confirming requests to transfer funds and, when using phone verification, calling previously known numbers rather than numbers in the request. xAI's documentation says Grok's Web Search tool searches the web in real time and browses pages, and its X Search tool searches posts on X and answers with citations. Together they support a pre-payment check: research the vendor's recent public news, then verify any bank change by phone.

    Grok, Grok web search +1

    FBI IC3 (public service announcement)
  • Tax Research

    Watch for IRS Disaster Tax Relief with a Grok Automation

    xAI's announcement of Automations in Grok describes jobs Grok runs on its own. You write the instructions once, like a chat message, then choose a one-time, daily, weekday, weekly, monthly or yearly schedule in your timezone. Every run is a fresh request with current data, saved to run history, and Grok reports back by email, app notification, both or neither. The IRS says it lists the latest disaster relief, with the eligible localities, on its Tax relief in disaster situations and Around the nation pages, and that administrative relief follows an emergency declaration or a major disaster declaration offering FEMA Individual Assistance.

    Grok, Grok Automations

    xAI (Automations in Grok announcement)
  • Practice Operations

    Answer Client Accounting Questions in Plain English with Grok

    xAI's developer overview describes the Responses API for generating text, multi-turn chat and function calling, alongside its voice, image and video APIs. The quick start sends a request to https://api.x.ai/v1 with an xAI API key, using either the OpenAI SDK pointed at that base URL or a curl call, and the docs also cover web search, structured outputs and the Batch API. This workflow uses the API, not the Grok app: a small script or internal tool sends the client's question with the books data you choose to include, and you review the draft answer before anyone sends it.

    Grok, xAI API

    xAI Docs (Get started)
  • Tax Research

    Fact-Check a Viral Tax Post on X Against Official Sources with Grok

    xAI's cookbook example builds a fact-checker with the Grok API. You paste a link to a post on X, and Grok reads it with X Search, images and video included, and splits it into up to four claims. It then checks each claim on the web and on X in its own request and writes a note in which every sentence cites a source the searches actually returned. Each claim gets a verdict of supported, missing context or not enough evidence, and any source Grok lists that the searches did not return is dropped, so a verdict stands only when a kept source backs it. The source-checking safeguards described here are part of the cookbook code, not the Grok app.

    Grok, X Search +1

    xAI Docs (fact-check cookbook)

Bills and receipts from this AP workflow fit in the Small Business Bookkeeping Spreadsheet Bundle, available on our sister store.