Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Monitoring, Ops & Incidents

Monitoring, Ops & Incidents

Detect recalled Shopify products from CPSC and FDA feeds with OpenAI and Slack

Runs every morning, matches the Shopify catalog against recent CPSC and FDA recall records, confirms likely matches with OpenAI, and reports them to Slack and Google Sheets.

What it does

## Detect recalled products in your Shopify catalog using CPSC and FDA data with OpenAI ### How it works This workflow runs every morning, pulls the Shopify catalog, then retrieves recent recall data from CPSC and FDA food, drug, and device sources. It normalizes and deduplicates recall records, scores store products as potential candidates, and sends plausible recall/product pairs to OpenAI for confirmation. Confirmed matches are reported to Slack, optionally drafted in Shopify, and recorded in Google Sheets along with recall logs and a run summary. ### Setup steps - Configure the Schedule Trigger time zone and confirm the 8am cadence is correct for the store team. - Add Shopify credentials and set the store handle/API details used by the catalog lookup and product draft update request. - Configure Google Sheets credentials and select the spreadsheets/tabs for the recall log and confirmed match records. - Add Slack credentials and choose the channels for match alerts and daily run summaries. - Add OpenAI credentials for the chat model used by the AI verification chain. - Review the Configuration node values such as shopifyStoreHandle, lookbackDays, minCandidateScore, and maxCandidatesPerRecall. ### Customization Adjust the candidate scoring threshold, lookback window, and maximum candidates per recall to control recall sensitivity and OpenAI usage. You can also change Slack message formats, disable or tighten the auto-draft filter, or add more regulatory data sources before the normalization step.

The steps

  1. Trigger at 8am Daily
  2. Set Configuration Parameters
  3. Retrieve Shopify Products
  4. Fetch CPSC Recall Data
  5. Fetch FDA Food Recalls
  6. Fetch FDA Drug Recalls
  7. Fetch FDA Device Recalls
  8. Read Recall Log from Sheets
  9. Normalize Recall Entries
  10. Identify Candidate Products
  11. Filter Candidate Products
  12. AI Match Verification
  13. OpenAI Chat Model
  14. Format Match Decisions

24 steps in total.

Similar automations