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
- Trigger at 8am Daily
- Set Configuration Parameters
- Retrieve Shopify Products
- Fetch CPSC Recall Data
- Fetch FDA Food Recalls
- Fetch FDA Drug Recalls
- Fetch FDA Device Recalls
- Read Recall Log from Sheets
- Normalize Recall Entries
- Identify Candidate Products
- Filter Candidate Products
- AI Match Verification
- OpenAI Chat Model
- Format Match Decisions
24 steps in total.
Similar automations
E-commerce & PaymentsBulk Create Shopify Products with Inventory from Google Sheets10 stepsE-commerce & PaymentsFetch Products from Shopify2 stepsMonitoring, Ops & IncidentsMonitor RSS feeds and send new items to Slack and Google Sheets with Apify7 stepsE-commerce & PaymentsPage Through Shopify Products with a GraphQL Cursor Loop4 steps