You are helping me build the following AI agent workflow. ## Goal Discover Influencers In Shopify Customers: Scans Shopify customers for social profiles, scores their influence with AI. ## Specification - What it does: Turn your Shopify customers into organic creators by automatically finding their social profiles and scoring their influence with AI. The system then crafts personalized outreach messages and sends them via email to onboard these high-potential users as affiliates. - Trigger: Run manually (Manual ยท on demand) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Shopify: Source customer data - Influencers.club API: Enrich emails with social profiles and metrics - OpenAI Chat Model: Analyze data and generate outreach content - SendGrid: Send personalized outreach emails - Slack: Notify on large influencers ## Known pitfalls, handle each one explicitly in your implementation 1. Shopify customer data may contain invalid emails so validate addresses before sending API requests to avoid wasted credits. 2. Influencers.club API might return incomplete profiles for users with private accounts, so handle missing fields gracefully in the prompt. 3. SendGrid can reject bulk emails if they look spammy, so ensure each message has unique subject lines and body content. 4. OpenAI token limits may be exceeded by long social histories, so truncate or summarize profile data before sending to the model. ## Reference implementation https://n8n.io/workflows/13370 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/discover-influencers-in-shopify-customers/ via usecasesforagents.com