Free workflow: email new insider stock purchases for your ticker watchlist

Hi all, sharing a workflow that emails me when a company’s directors or officers buy its stock on the open market. Insider sales happen all the time for taxes or scheduled plans; open-market buys are much rarer, so I want to see them quickly.

What it does

  • Schedule trigger every weekday at 8:00, plus a manual trigger for testing
  • A Set node holds the watchlist, a 14-day lookback, a minimum trade value and the email addresses
  • One HTTP Request per ticker to the Equibles insider-transactions endpoint (Header Auth, purchases only)
  • A Code node keeps rows flagged as open-market trades above the minimum, so grants and option exercises never show up as buys
  • Remove Duplicates (items seen in previous executions) drops anything already emailed
  • One HTML table, largest purchase first, sent over SMTP. Nothing new means no email.

The part that took a few tries
The lookback overlaps between runs on purpose, because insiders have two business days to report and some filings come in late. So the same trade comes back every day for two weeks, and the dedupe key has to stay stable across runs. I join ticker, insider name, trade date, shares and price into one key.

On a test run it caught three Pfizer purchases worth $2,960,110 in one email, skipped a made-up ticker without failing the run (the HTTP node continues on error), and a second run sent nothing.

Template: Email new insider stock purchases from your watchlist with Equibles and SMTP | n8n workflow template

It needs an Equibles API key; the free plan allows 100 requests a day and each run uses one per ticker. I work on Equibles, so happy to answer questions about the data too. Feedback on the dedupe approach very welcome.

This is a really clever use of insider buying as a signal — most people automate price alerts, but open-market purchases by officers are much harder to fake. I especially liked the intentional lookback overlap paired with a stable dedupe key; that’s a pattern I keep running into and usually solve the messy way. The no-email-when-nothing-new choice is a small thing, but it’s what makes these automations livable long-term. One thing I’d be curious about: do you also track transaction timing relative to earnings announcements, or keep it purely purchase-driven?

Thanks! Purely purchase-driven in the workflow, but timing was the first thing I looked at in the data, and it’s lopsided. I counted insider purchase days (one per insider, company and date) from 2023 to September 2026 against each company’s most recent earnings release:

  • 0 to 2 days after a release: 5.2%
  • 3 to 10 days: 22.8%
  • 11 to 30 days: 29.4%
  • 31 to 60 days: 22.8%
  • 61 to 92 days: 8.8%

Per day, days 3 to 10 see about ten times as many purchase days as the month before the next report. That’s mostly trading windows: most companies only let insiders trade for a few weeks after results are out. So a buy right after a report is the normal case, and one late in the quarter is the unusual one.

If you wanted to flag that in the email, you’d need each company’s last results date alongside the trade, and the Code node could add a “days since last report” column. I kept the template to one API call per ticker, so it’s not in there.