by Growth AI
SEO Anchor Text Generator with n8n and Claude AI Generate optimized SEO anchor texts for internal linking using AI automation. This workflow processes your website pages and creates diverse, SEO-compliant anchor variations automatically. Who's it for SEO specialists managing large websites with extensive internal linking needs Content managers looking to automate anchor text creation for better search rankings Digital marketers seeking to optimize internal linking strategies at scale Web agencies handling multiple client websites with SEO requirements What it does This workflow automatically generates 10 unique SEO anchor texts with 3-5 linguistic variations each (40-50 total variations per page) using Claude AI. It analyzes your page content, applies advanced SEO criteria, and creates diverse anchor types including exact match, brand anchors, long-tail keywords, contextual phrases, and call-to-action variants. How it works The system connects to your Google Sheets document containing page information, filters pages needing anchor generation, processes each page individually through Claude AI, and updates your spreadsheet with generated anchor texts. The workflow ensures semantic relevance, keyword optimization, natural language flow, and linguistic diversity while avoiding over-optimization penalties. Requirements Google Sheets with OAuth2 authentication configured in n8n Anthropic API key for Claude AI model access Template spreadsheet with proper column structure (Page, URL, Description, Anchors) Pages must have URL and description but empty anchor fields to trigger processing How to set up Step 1: Prepare Your Data Duplicate the template spreadsheet: https://docs.google.com/spreadsheets/d/1VNl8xLYgRrNcKrmN9hCdfov1dMnwD44tAALJZAlagCo Fill in your page information in the "Anchor" sheet: Page: Name/title of your page (can use hierarchical levels Niv 0-3) URL: Complete URL of the page Description: Brief description of page content to help AI generate relevant anchors Leave the "Anchors" column empty for pages needing anchor generation Step 2: Configure n8n Credentials Set up Google Sheets OAuth2: Go to n8n credentials settings Add new Google Sheets OAuth2 API credential Follow OAuth flow to authenticate with Google Test connection with your spreadsheet Configure Anthropic API: Obtain API key from Anthropic Console Add new Anthropic API credential in n8n Enter your API key and test connection Step 3: Import and Activate Workflow Import the workflow from the provided JSON Update credential references to match your configured credentials Test the Chat Trigger webhook to ensure it's accessible Activate the workflow in n8n Step 4: Execute the Workflow Send a chat message with your Google Sheets URL to trigger the workflow Monitor execution through n8n interface to track progress Check your spreadsheet for automatically generated anchor texts Review and customize generated anchors as needed for your content How to customize the workflow Modify AI Prompt Instructions Update the "Gรฉnรฉrateur d'ancres" node prompt to: Change the number of anchor variations generated Adjust SEO criteria and anchor types Modify linguistic variation requirements Customize language style and tone Add specific industry terminology Adjust Data Processing Customize the "Filter" node conditions to: Change criteria for pages requiring anchor generation Add additional validation rules Modify column names to match your spreadsheet structure Enhance Output Formatting Modify the "Import Sheets" code node to: Change data transformation logic Add additional processing steps Customize how results are formatted for Google Sheets Include timestamp or processing metadata Scale for Large Datasets Optimize the "Loop Over Items" batch processing: Adjust batch sizes for better performance Add error handling for failed API calls Implement retry logic for robustness Add progress tracking mechanisms Integration Extensions Extend functionality by adding nodes for: Slack notifications when processing completes Email reports with generation statistics Integration with content management systems Automated content publishing with generated anchors Advanced Customization Tips Language Adaptation: Modify the AI prompt for different languages by adjusting linguistic variation rules Industry Specialization: Add domain-specific terminology and SEO best practices to the prompt Quality Control: Implement additional filtering to review generated anchors before updating sheets Analytics Integration: Connect with Google Analytics to prioritize high-traffic pages for anchor generation Content Integration: Add nodes to automatically insert generated anchors into CMS or static site generators
by AI Sales Agent HQ
What this workflow does Automatically curates and sends a weekly newsletter by combining your internal blog posts with external news. The workflow researches your topic using Tavily, has Gemini write professional newsletter content, and delivers a beautifully formatted HTML email via Gmail. How it works Weekly Trigger - Runs on a configurable schedule (default: every 7 days at 9:30 AM) Dual Research - Tavily searches your company blog for internal updates AND external sources for market news in parallel AI Writing - Gemini generates a complete newsletter with warm intro, product updates section, and curated news Email Assembly - Merges AI content with a professional HTML template Delivery - Gmail sends the formatted newsletter to your subscribers Setup steps Open the Set newsletter config node to customize: Topic (what Tavily searches for) Newsletter name, author, email title Logo URL, blog URL, subscribe URL Add your Tavily API credentials (get a key at tavily.com) Add your Google Gemini API credentials Add your Gmail OAuth credentials Update the recipient email in the Send newsletter node Test with manual execution before enabling the schedule API keys required | Service | Purpose | Cost | |---------|---------|------| | Tavily | Web search for blog + news | Free tier available | | Google Gemini | Newsletter writing | Free tier available | | Gmail | Email delivery | Free |
by Elegant Biztech
Automated QuickBooks New Customer Welcome Emails This workflow provides a robust solution for QuickBooks users looking to automate their new customer onboarding process. It solves the time-consuming and error-prone task of manually sending welcome emails by creating a fully automated system that ensures every new customer receives a timely, personalized, and professional welcome. The workflow periodically checks your QuickBooks Online account for new entries. To prevent sending duplicate emails to existing customers, it cleverly uses a Google Sheet as a simple database, tracking every customer who has already been contacted. This makes the process reliable and safe to run on an automated schedule. This template was crafted with care by the team at Elegant Biztech to help you build stronger customer relationships through smart automation. How the Workflow Operates Scheduled Trigger: The workflow initiates on a customizable schedule (e.g., every hour). Fetch Data: It simultaneously fetches all customer data from your QuickBooks account and the list of already-processed customer IDs from your Google Sheet. Find New Customers: It compares the two lists to isolate only the new customers who have not yet been processed. Log New Customers: For each new customer found, the workflow performs two logging actions: It appends their full details (Name, Company, Email, etc.) to a "log" sheet for your records. It adds their unique Customer ID to the "tracking" sheet to ensure they are not emailed again in the future. Craft Personalized Email: A Email Template node dynamically generates a beautiful, responsive HTML email, personalized with the customer's name, company, and location details. Send Welcome Email: The final node sends the uniquely crafted email to the new customer. Prerequisites Before you begin, please ensure you have the following: An active n8n instance. A QuickBooks Online account with API access. A Google account. An email service (e.g., SMTP, Gmail, Outlook) connected to n8n as credentials. Step-by-Step Setup Guide Follow these instructions carefully to configure the workflow for your use. 1. Create the Google Sheet This workflow requires a Google Sheet with two specific tabs to function as its database. Create a new Google Sheet. Rename the first tab to Processed IDs. In cell A1, create the header: CustomerIds. Create a second tab and name it New Customer Logs. In row 1, create the following headers: Customer_Name, Company_Name, Email_ID, Phone_No, Customer_ID. 2. Connect Your Accounts You must authenticate your accounts in the designated nodes. Get many Customers node:** Select this node and connect your QuickBooks Online credentials. Read Old Customers node:** Connect your Google Sheets account credentials here. This will be automatically used by the other Google Sheets nodes. Send Personalized Welcome Email node:** Connect the credentials for the email account you wish to send from. 3. Configure the Google Sheets Nodes Point the workflow to the correct sheet and tabs you just created. Read Old Customers node:** In the Document ID field, select your new Google Sheet. In the Sheet Name field, select the Processed IDs tab. Log New Customer Details node:** Verify the Document ID field is correctly set to your Google Sheet. In the Sheet Name field, select the New Customer Logs tab. Log New Customer ID for Tracking node:** Verify the Document ID is correct. In the Sheet Name field, select the Processed IDs tab. 4. Customize the Email Template Personalize the welcome email to match your brand. Open the Code node. Inside the code editor, find and replace these four placeholder values: Your Logo URL: Replace the placeholder link with a public URL to your company's logo. Your Website Link: Replace the placeholder with a link to your website's dashboard or homepage. Your Support Email: Replace the mailto: link with your company's support email. Your Company Name: Update the company name in the copyright footer. Next, select the Send Personalized Welcome Email node and update the Subject field with your company's name. 5. Activate the Workflow Open the Scheduler node to set the schedule for how often you want the workflow to run. Save the workflow. Click the Active toggle at the top right of the screen. Your automated welcome email system is now live! For questions or to explore more custom solutions, visit us at elegantbiztech.com.
by Rahul Joshi
Description Automate Zendesk ticket follow-up management by fetching pending tickets daily, enriching and logging them into Google Sheets, creating ClickUp tasks for team reminders, and sending professional follow-up emails to customers. Keeps your support pipeline clean and ensures no pending tickets fall through the cracks. ๐ซ๐๐งโ What This Template Does Triggers daily (MonโFri at 8 PM) to check Zendesk for pending tickets. โฐ Filters only "pending" status tickets to reduce noise. ๐ Formats ticket data with priority, age, and attention flags. ๐ง Logs all tickets into Google Sheets for reporting and analytics. ๐ Creates ClickUp tasks for team follow-up and accountability. ๐ Generates professional HTML follow-up emails grouped by customer. ๐จ Sends emails via Gmail with ticket details and next steps. ๐ง Key Benefits Ensures no pending Zendesk tickets are forgotten. โฑ๏ธ Builds a historical log for analytics and audit trails. ๐งพ Keeps your support team accountable with ClickUp tasks. โ Delivers personalized, branded follow-up emails to customers. ๐ก Reduces manual effort in tracking and responding to tickets. ๐ Features Schedule Trigger โ Runs MonโFri at 8:00 PM. ๐๏ธ Zendesk Integration โ Fetches pending tickets automatically. ๐ซ Smart Data Processing โ Cleans descriptions, calculates age, flags urgent tickets. โก Google Sheets Logging โ Maintains a structured log with Ticket ID, URL, tags, status, etc. ๐ ClickUp Tasks โ Automatically creates tasks per pending ticket. ๐ Email Generation โ Groups tickets per customer, builds professional HTML follow-ups. ๐จ Gmail Delivery โ Sends personalized follow-ups directly to customers. ๐ง Requirements n8n instance (cloud or self-hosted). Zendesk API credentials with read access. Google Sheets OAuth2 credentials with write access. ClickUp API credentials for task creation. Gmail OAuth2 credentials for sending emails. Pre-configured Google Sheet for pending ticket tracking. Target Audience Customer support teams managing Zendesk tickets. ๐ง SaaS companies wanting automated follow-ups. ๐ CS managers ensuring accountability in ticket handling. ๐ ๏ธ SMBs reducing customer wait time with proactive follow-ups. ๐ข Remote support teams needing automated reminders and logs. ๐ Step-by-Step Setup Instructions Connect Zendesk, Google Sheets, ClickUp, and Gmail credentials in n8n. ๐ Update the schedule trigger (default: MonโFri at 8:00 PM). โฐ Replace the Google Sheet ID with your pending ticket log sheet. ๐ Configure your ClickUp space/list IDs for task creation. ๐ Update email branding and sender address in the email generator. ๐จ Test with sample tickets to validate Sheets logging, ClickUp tasks, and Gmail delivery. โ
by Cheng Siong Chin
Overview Automate AI content creation from request to approval. While AI writes quickly, human review often delays deliveryโand multiple tools create workflow gaps and version confusion. This unified solution streamlines the entire process, enabling teams to produce quality content at scale with transparent tracking. How it works Submit a form with your topic, tone, and keywords. GPT-4o generates the content and assigns a quality score (0โ100). The reviewer receives an email to approve, edit, or reject the draftโall actions are automatically logged in Google Sheets for tracking and audit purposes. Setup steps Import the workflow JSON file into n8n Connect your OpenAI and Google account credentials Update three variables in the workflow: SHEET_ID (your Google Sheets document ID), REVIEWER_EMAIL (recipient for review notifications), and WEBHOOK_URL (for form submissions) Test the workflow with a sample submission Workflow Stages Submit a form with topic, tone, and keywords. GPT-4o generates content and assigns a quality score (0โ100). Reviewer receives an email to approve, edit, or reject the draft. All review actions are automatically logged in Google Sheets with timestamps and approval status. Requirements n8n v1.0+ instance, OpenAI API key with GPT-4o access, and Google Workspace with OAuth2 credentials. Custom options Choose model: gpt-4o, 4o-mini, or 3.5-turbo. Adjust score weights: Readability 40%, Keywords 30%, Length 30%. Key benefits Generate drafts 99% faster and approve content 95% quicker. Centralized tracking ensures clarity and accountability.
by Rahul Joshi
Description Automatically generate multi-jurisdiction tax summaries from Stripe invoices and sync them into Google Sheets with daily reporting. This workflow ensures compliance-ready tax data, detailed breakdowns by country/state/tax rate, and real-time Slack notifications for both success and error handling. ๐ณ๐๐ข What This Template Does Triggers daily at 2:00 AM using a scheduled cron. โฐ Fetches paid invoices from Stripe (last 30 days). ๐ณ Validates data integrity before processing. โ Summarizes taxes by period, country, state, and rate. ๐งฎ Formats and logs results in Google Sheets for reporting. ๐ Sends Slack notifications for both success and failure. ๐ข Key Benefits Automated tax compliance reporting. ๐งพ Accurate multi-jurisdiction tracking. ๐ Eliminates manual spreadsheet work. โฑ๏ธ Maintains a historical audit trail. ๐ Real-time notifications keep your team informed. ๐ Built-in error handling ensures reliability. ๐ก๏ธ Features Daily cron schedule (0 2 * * *). Stripe invoices fetched with expanded tax amounts. Intelligent grouping by period, country, state, and tax rate. Google Sheets integration with append/update logic. Success Slack message: summary totals, record count, period. Error Slack message: troubleshooting guidance and failure logs. Uses environment variables for secure configuration (GOOGLE_SHEETS_DOCUMENT_ID, SLACK_CHANNEL_ID). Requirements n8n instance (cloud or self-hosted). Stripe API credentials with invoice read access. Google Sheets OAuth2 credentials with write access. Slack API credentials with chat:write permissions. Proper tax configuration in Stripe for accurate reporting. Target Audience Finance teams handling recurring billing and tax filings. ๐ผ Accountants needing automated jurisdiction tax breakdowns. ๐ SaaS businesses managing global customers. ๐ Agencies and SMEs streamlining monthly tax reporting. ๐ข Remote teams requiring real-time workflow notifications. ๐ฒ Step-by-Step Setup Instructions Configure Stripe API credentials in n8n. Set up Google Sheets with a โTax Summaryโ sheet (columns: period, country, state, tax rate, taxable amount, tax collected, processing date). Configure Slack API credentials and channel ID (e.g., tax-reports). Replace hardcoded values with environment variables for security. Import this workflow JSON into n8n. Run once manually with test invoices to validate. Enable the workflow for daily automated reporting. โ
by Andrew Loh
How it works Complaints arrive via Gmail or a web form webhook Claude AI classifies each complaint: fault category, priority (P1/P2/P3), tenant tone, and drafts an acknowledgement email The right technician is looked up in Airtable by fault category A work order is created and the tenant receives an ACK email with their ticket reference and SLA commitment The FM team is notified in Slack with ticket summary An hourly schedule checks open tickets โ any past their SLA deadline trigger an urgent escalation to FM management How to set up Connect Gmail to the Gmail Trigger and Send ACK email nodes Create your Airtable base with a Complaints table and a Technician table (one row per fault category) Connect Airtable, Anthropic, and Slack in their respective nodes If using a web form, point it to the Webhook URL
by Cliss Zhang
Create Job Folders, Tasks, Alerts, and Onboarding Emails After Stripe Payment with Google Drive, ClickUp, and Slack Categories: Payments, Project Operations, Client Onboarding This workflow creates a complete payment โ project kickoff system for service-based businesses. Once a client pays via Stripe, the system automatically provisions project infrastructure, records the order, notifies the team, and sends clear next steps to the client. Built for operational reliability rather than flash, this workflow proves that strong client experiences come from consistent execution, not manual coordination. Benefits Instant Project Kickoff** โ Projects are fully set up the moment payment clears Operational Consistency** โ Every client starts with the same clean structure FailโLoud Safeguards** โ Critical errors stop execution and alert the team Reduced Manual Ops** โ No copying data across tools after payment Professional Client Experience** โ Immediate confirmation and next steps Fully Customizable** โ Folder structures and tasks are examples, not constraints How It Works Payment & Validation Listens for successful Stripe payments Verifies required customer and package data Prevents partial setup if data is missing Client & Order Identification Locates the client in your CRM using email Creates an internal order record as a source of truth Project Infrastructure Provisioning Creates a project folder structure in Google Drive (example configuration) Creates a ClickUp project list with default tasks (example configuration) Communication & Handoff Sends a welcome email with onboarding instructions to the client Notifies the internal team in Slack that work can begin Error Handling Critical failures stop execution and surface alerts Nonโcritical failures alert the team but allow progress This staged approach keeps the workflow easy to reason about and safe to operate at scale. Required Setup Configuration Core Configuration Update the Workflow Configuration node: intakeFormUrl โ Your onboarding or intake form parentFolderId โ Google Drive folder where client projects live Required Integrations Stripe Google Drive Google Sheets (CRM + Orders) ClickUp Gmail Slack Once credentials are connected and configuration values are set, the workflow is ready for testing. Project Structure (Example Configuration) The structures below are examples only. They demonstrate how the workflow provisions infrastructure automatically. You can freely rename, remove, or replace folders and tasks to match any service or industry. Google Drive Example folder structure: YYYY-MM โ Client Name โ Package โโ 01-Intake โโ 02-Logo โโ 03-Brand Kit โโ 04-Website โโ 05-Final Delivery ClickUp Example default tasks: Brand Questionnaire Review Logo Concepts Brand Kit Website Build All task names, counts, and priorities are customizable. Business Use Cases Agencies delivering repeatable services Productized service businesses Freelancers managing multiple paid engagements Internal teams onboarding clients or stakeholders If work begins after payment, this workflow fits. Business Impact Faster project start times Fewer setup errors Clear ownership between sales and delivery Improved client confidence after payment Reduced operational overhead as volume scales The payment moment becomes a clean handoff instead of an operational bottleneck. Difficulty & Cost Difficulty Level:** Intermediate Estimated Setup Time:** 30โ45 minutes Monthly Operating Cost:** ~$0โ$10 (API usage dependent) Installation Steps Connect all required credentials Update the Workflow Configuration node Run a test Stripe payment Verify folders, tasks, email, and Slack alerts Activate the workflow Customization & Extensions This workflow is designed to plug cleanly into a larger endโtoโend sales โ delivery automation system. If you are building multiple automations, this template typically sits in the middle of the lifecycle. How It Fits Into a Larger System Common upstream and downstream integrations include: Lead & Opportunity Pipelines** When combined with lead scraping, enrichment, and qualification workflows, this automation acts as the handoff point where a qualified opportunity becomes a paid project. Proposal & Payment Flows** This workflow is commonly triggered after an automated proposal + Stripe checkout flow, ensuring that once payment clears, production begins immediately with no manual coordination. Client Intake & Brief Generation** The welcome email can link directly into automated intake form workflows that convert responses into structured briefs, creative direction, or production instructions. Production & Delivery Pipelines** Project folders and tasks created here can act as triggers for downstream workflows such as approvals, revision tracking, asset delivery, or website launches. Typical Expansion Path For fast ROI, many teams implement these stages in order: Payment โ Project Kickoff (this workflow) Intake Form โ Structured Brief Production Pipelines (Design / Website / Delivery) Additional layers such as lead scraping, outbound outreach, and nurture engines can be added before this workflow once delivery operations are stable. If youโre curious, Iโve built other templates that cover the steps before and after this one (lead gen, proposals, intake, production, etc.). You can find those on my profile โ theyโre designed to work together, but each one stands on its own.
by Ayush Singh
How it works This workflow automatically generates a detailed AI-powered campaign performance report across Meta, Google and Microsoft Ads and emails it to your team every month. It reads campaign data from three tabs in a Google Sheet (Google, Meta, Microsoft), merges all rows, and passes them to a Code node that calculates KPIs and builds a structured prompt. Groq AI (Llama 3.3 70B) then analyzes the data and generates expert insights. A second Code node combines the KPIs and AI analysis into a full HTML email with platform tables, charts, benchmarks and recommendations โ sent automatically via Gmail. Setup steps Create a Google Sheet with 3 tabs: Google, Meta, Microsoft Paste your monthly ad exports into the matching tab Connect your Google account in the 3 Sheets nodes and select the correct tab in each Add your Groq API key in the HTTP Request node header Connect your Gmail account in the Send node and set your recipient email Activate โ the workflow runs automatically on schedule
by takuma
Whoโs it for This template is for individuals or households who want to: Easily digitize and track their spending from physical receipts. Automate budget management and financial reporting. Get quick insights into their spending habits on a daily and monthly basis. Stay informed about their remaining budget through Slack notifications. What it does This workflow automates your household budget tracking in several steps: Receipt Photo Upload: You upload a photo of your receipt to a webhook. Parse Receipt: An AI agent extracts the date, store name, purchased items, and total amount from the receipt text. Add to Budget Sheet: The extracted data is then appended to your designated Google Sheet. Daily Budget Report: After each receipt entry, the workflow calculates your current month's spending, remaining budget, and sends a summary to Slack. Monthly Budget Report: Once a day (triggered by a cron job), it reads all budget data for the current month from Google Sheets, performs an analysis (total spending, daily average, top stores, items, and spending days), and sends a comprehensive report to Slack. How to set up Requirements n8n Account**: Self-hosted or Cloud. Google Sheets**: A Google Sheet set up with columns for "Date", "Store", "Items", and "Amount". Slack Workspace**: A Slack channel where you want to receive budget updates. OpenRouter Account**: An API key for OpenRouter to use their chat models. Steps Google Sheets Setup: Create a new Google Sheet (or use an existing one) and name it "Household Budget". In the first sheet (e.g., "Sheet1"), set up the following headers in the first row: "Date", "Store", "Items", "Amount". Share the Google Sheet with the service account email associated with your n8n Google Sheets credentials, granting "Editor" access. In the 'Add to Budget Sheet' and 'Get Budget Sheet (Daily)' nodes, select your Google Sheet and the appropriate sheet name. OpenRouter Credentials: Sign up or log in to OpenRouter (https://openrouter.ai/). Generate an API key. In n8n, create a new "OpenRouter" credential using your API key. Apply this credential to the 'OpenRouter Chat Model1', 'OpenRouter Chat Model2', and 'OpenRouter Chat Model' nodes. Slack Credentials: In n8n, create a new "Slack" credential. Follow the instructions to connect your Slack workspace. In the 'Send a message' and 'Send monthly report' nodes, select the Slack channel where you want to receive messages. Make sure the Slack app has permission to post to the selected channels. Webhook URLs: After activating the workflow, the 'Receipt Photo Upload' node will generate a webhook URL. Copy this URL. You will use this URL to send receipt text (e.g., from a mobile app that scans text). Monthly Budget Adjustment: In the 'Code in JavaScript2' node, locate the line const budget = 30000; and change 30000 to your desired monthly budget in JPY. How to customize the workflow Daily Report Trigger The 'Daily Report Trigger' node is set to run once a day. You can modify its schedule to trigger more or less frequently by adjusting its cron settings. AI Model You can change the AI models used in the 'OpenRouter Chat Model' nodes to any other large language model supported by n8n, such as OpenAI, Anthropic, or custom hosted models, by updating the credentials and model names. Output Formatting The Slack messages generated by the 'Report Budget' and 'Monthly Report' nodes can be customized by editing the systemMessage and text parameters in those nodes to change the tone, content, or language of the reports. Additional Integrations You can extend this workflow by adding more nodes: Integrate with other accounting software. Send notifications to different platforms (e.g., email, Discord, Telegram). Add sentiment analysis to your spending habits. Categorize expenses automatically based on items or stores using another AI node.
by Satoshi
Overview The workflow automatically gathers weekly user and page view metrics. It then uses AI to analyze, compare, and compile a summary report. Finally, it sends the report to the manager's email. How it works Get Data from GA Automatically retrieve data from Google Analytics (GA) for the two most recent weeks. Compare the data and calculate the variances between the two weeks. Generate Report Automatically analyze the data and generate reports using Artificial Intelligence (AI). Generate charts to visualize the data. Export the report to PDF. Send Report Send the report via email to the manager. Set up steps Google cloud account Create the credentials and replace them in the workflow. Please enable the following APIs: Gmail API Google Analytics Admin API Google Analytics Data API HTML to PDF account You need to install node HTML to PDF. Get API key and replace in the workflow.
by Avkash Kakdiya
How it works This workflow automatically evaluates refund and chargeback risk for incoming e-commerce orders. Orders are received via a webhook, processed individually, and checked to avoid duplicate analysis. Each transaction is normalized and sent to OpenAI for structured risk scoring and classification. Results are logged for auditing, alerts are triggered for high-risk cases, and processed orders are marked to prevent reprocessing. Step-by-step Step 1 โ Ingest incoming orders** Webhook โ Receives single or bulk order payloads from external systems. Split Out โ Breaks array-based payloads into individual order records. Split In Batches โ Iterates through each order in a controlled loop. Step 2 โ Deduplication check** IF (DEDUPE CHECK) โ Verifies whether an order was already processed and skips duplicates. Step 3 โ Normalize transaction data** Code (Normalize Data) โ Validates required fields and standardizes order, customer, and behavioral attributes. Step 4 โ AI risk assessment** OpenAI (Message a model) โ Sends normalized transaction data to the AI model and requests a strict JSON risk evaluation. Step 5 โ Parse AI output** Code (Parse AI Output) โ Cleans the AI response and extracts risk score, risk level, key drivers, and recommendations. Step 6 โ Log results** Google Sheets (Append) โ Stores timestamps, order details, and AI risk outcomes for reporting and audits. Step 7 โ Risk decision and alerts** IF (High Risk) โ Filters only transactions classified as HIGH risk. Discord โ Sends real-time alerts to operations or finance teams. Gmail โ Emails finance stakeholders with full risk context. Step 8 โ Mark order as processed** Google Sheets (Update) โ Updates the source row to prevent duplicate processing. Why use this? Automatically detects high refund or chargeback risk before losses occur. Eliminates manual review with consistent, AI-driven risk scoring. Sends instant alerts so teams can act quickly on high-risk orders. Maintains a clear audit trail for compliance and reporting. Scales easily to handle single or bulk order evaluations.