Identify creators in Salesforce loyalty contacts with Influencers Club, GPT-4o-mini and SendGrid
UnknownWhat this workflow does
This AI workflow has 15 nodes and runs on Salesforce events (contact created). Along the way it connects SendGrid, OpenAI Chat Model, Salesforce and Influencersclub (community).
How it runs
Trigger: On Salesforce events (contact created).
- Extract Data Fields (Edit Fields (Set)): sets 5 fields: email, member_name, loyalty_tier…
- Enrich by Email (Influencers Club): uses Influencers Club
- AI Creator Classification Agent (AI Agent): runs an AI agent, with model: OpenAI Classifier Model; output parser: Classification Output Parser
- Route Logic (Code): runs custom JavaScript code
- AI Creator Classification Agent (AI Agent): runs an AI agent, with model: OpenAI Classifier Model; output parser: Classification Output Parser
- Merge: merges the data from its input branches
- Activation (Code): runs custom JavaScript code
- Switch: routes items into branches
- Update a contact (Salesforce): update (contact)
- Send Email (SendGrid): work with mail
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-influencersclub is verified or supports 3.0 (used in Enrich by Email).
Nodes used (11)
- Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - SendGrid
n8n-nodes-base.sendGrid - Merge
n8n-nodes-base.merge - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Salesforce Trigger
n8n-nodes-base.salesforceTrigger - Salesforce
n8n-nodes-base.salesforce - Influencers Club
n8n-nodes-influencersclub.influencersClub
From the author
How it works: Get multi social platform data for loyalty program customers with their email and send personalized creator, partner and ambassador outreach. Step by step workflow to enrich loyalty program emails with multi social (Instagram, Tiktok, Youtube,…