AGENT?GET /zapier/awesome-zaps/create-m-a-deal-records-from-newsletter-emails-for-review/SKILL.mdand deploy the files next to it
All zaps

Create M&A deal records from newsletter emails

When a deal newsletter arrives, each M&A deal it mentions becomes a row in your deal table, and the team gets a short Slack summary to review.

Install it

For your agent
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/create-m-a-deal-records-from-newsletter-emails-for-review/

Paste into Claude, ChatGPT, Cursor or any agent.

Apps it uses
Microsoft OutlookAI by ZapierZapier TablesSlack
Author
Zapier
Source
zapier/awesome-zaps, folder zaps/create-m-a-deal-records-from-newsletter-emails-for-review

Set it up with the CLI

  1. Add it. Copies the folder into zaps/create-m-a-deal-records-from-newsletter-emails-for-review/. Outside a project, it makes one first.
    npx zap-pack add awesome-zaps/create-m-a-deal-records-from-newsletter-emails-for-review
  2. Fill in the values in config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say.
  3. Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
    npx zap-pack deploy create-m-a-deal-records-from-newsletter-emails-for-review
  4. Check it. Its recent runs, with status and errors.
    npx zap-pack logs create-m-a-deal-records-from-newsletter-emails-for-review

zaps/create-m-a-deal-records-from-newsletter-emails-for-review/

Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.

What it does

  1. Trigger: a new email arrives in your newsletter folder (microsoft-outlook, new_email_personal).
  2. AI by Zapier reads the email and returns a list of M&A deals, each with seller, buyer, description, date, advisor and deal number. It leaves advisor blank when none is named.
  3. Zapier Tables gets one new record per deal, with the six fields filled in.
  4. Slack posts one summary message to your team channel listing the deals added.

If the email mentions no deals, the run stops without writing anything.

Ask the user

Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.

Setting Where What goes there
TABLE_ID config.ts The Zapier table that receives one record per deal. It needs six text columns: Seller, Buyer, Deal Description, Date, Advisor, Deal Reference
SLACK_CHANNEL config.ts The channel that gets the team summary

Also ask:

  • Which mailbox folder receives the newsletters? Set it as the trigger's folder.
  • Does the Zapier table already have the six columns? If not, create them.
  • Should a run skip deals already in the table? This Zap does not check for duplicates yet (see Notes).

Review these defaults with them:

  • MESSAGE_PREFIX in config.ts: "[install-test] " marks test messages. Set it to "" for real use.
  • MENTION_CHANNEL in workflow.ts: false keeps the summary silent. Set it to true to @channel-mention the team.
  • MAX_DEALS in workflow.ts: the most deals taken from one email. Defaults to 10.

Build it

If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/create-m-a-deal-records-from-newsletter-emails-for-review, replace each REPLACE_… value as this file says, then run npx zap-pack deploy create-m-a-deal-records-from-newsletter-emails-for-review, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.

  1. Accounts: bind microsoft-outlook (the mailbox that receives the newsletters), zapier-tables (the account that owns the deal table) and slack (the workspace with the team channel) to the user's connections. AI by Zapier needs none: it uses Zapier-managed model credentials.
  2. Source: publish workflow.ts and config.ts, with each REPLACE_… replaced by the user's answer. triggers/new-email-personal.ts and connections/ are settings, not code: set the workflow's trigger and connection bindings from them, and set the trigger's folder to the newsletter folder. The trigger file names the app by its slug; for the trigger's selected_api, call search_triggers with that slug, find the row whose key is the trigger's event, and use <app_key>@<app_version> from it.
  3. Build guide: load Zapier's build guide with get_zapier_skill("zapier:build-workflows") and follow it to create, test and publish the workflow.
  4. Fields: inspect each action's fields with the user's connections (Zapier Tables, Slack and AI by Zapier) and sample the trigger before the first test run, and fix any key in workflow.ts that doesn't match.

Test it

Run this sample as a draft test run before publishing. It uses invented deal names, so no real company appears in the table or channel:

{
  "subject": "Deals newsletter",
  "body": "Harbor Logistics agreed to acquire Pine Freight from its owners. Advisor: Northgate Partners. Deal no. TD-101. Announced 2026-10-20.\n\nLumen Health sold its diagnostics unit to Cobalt Labs. No advisor was named. Deal no. TD-102. Announced 2026-10-21."
}

Confirm that the run completed with created: 2, failures: 0, that two new rows appear in the deal table with the seller, buyer, description, date, advisor and deal number in the right columns (the second row's advisor is blank), and that one summary message appears in the channel listing both deals. If run-status tools aren't available, check the deal table and the channel directly. Ask the user to delete the test rows and message; the agent does not delete them.

Notes

  • Dates are kept as the AI reads them from the email (for example "2026-10-20" or "Oct 20"). They are not converted to a date column.
  • Each run creates a record for every deal in the email, so a repeated email adds duplicates. Matching on buyer, seller and date before creating a row is not built yet.
  • The summary is one message per email, not one per deal.
  • Emails are newsletters, so the AI may misread a deal. Check the rows against the email until you trust the output.
  • Check that your plan includes AI by Zapier before you publish.
  • To notify only for priority deals, post to Slack only above a set size or for a keyword. To keep the source, add the original email text or a link to each record.