Integrate ChatGPT API-generated content directly into Salesforce Marketing Cloud emails. Automate dynamic email personalization using OpenAI's language model.
git clone https://github.com/psapir/sfmc-gpt.gitsfmc-gpt enables marketers to incorporate ChatGPT API-generated content into Salesforce Marketing Cloud emails, automating personalized messaging at scale. The skill integrates OpenAI's language model with SFMC's email platform, allowing you to generate dynamic content within email templates without manual copywriting. Setup requires obtaining a ChatGPT API key, deploying the package via SFMC's Package Manager, and configuring the ChatGPTGenerator Content Area with your credentials. This solution is ideal for marketing teams seeking to reduce content creation time while maintaining email relevance and personalization across campaigns.
Obtain a ChatGPT API key from OpenAI, then login to your SFMC account and deploy the package using Package Manager. Configure the ChatGPTGenerator Content Area with your API key, then reference the example email file to incorporate ChatGPT generation into your email templates.
Generate personalized product recommendations in promotional emails
Auto-create subject lines and preview text for A/B testing
Produce dynamic email copy tailored to customer segments
Automate content generation for high-volume email campaigns
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/psapir/sfmc-gptCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Generate a personalized email campaign for [COMPANY] in the [INDUSTRY] sector. The email should include a compelling subject line, a brief introduction, and a call-to-action. Use the following data points: [DATA]. Ensure the content is engaging, concise, and tailored to the target audience. The email should be optimized for Salesforce Marketing Cloud (SFMC) with proper personalization strings and dynamic content blocks.
# Email Campaign for GreenTech Solutions ## Subject Line 🌱 Revolutionize Your Sustainability Journey with GreenTech Solutions ## Introduction Dear [First Name], We hope this message finds you well. At GreenTech Solutions, we understand the importance of sustainability in the [INDUSTRY] sector. Our innovative solutions are designed to help companies like [COMPANY] reduce their carbon footprint and achieve their sustainability goals. ## Key Benefits - **Customized Solutions**: Tailored to meet your specific needs. - **Cost-Effective**: Save money while going green. - **Expert Support**: Our team is here to guide you every step of the way. ## Call-to-Action Ready to take the next step towards a sustainable future? [Click here](#) to schedule a consultation with our experts. Let's make a difference together! Best regards, [Your Name] GreenTech Solutions ## Personalization Strings %%=v(@firstName)=%% %%=v(@companyName)=%% ## Dynamic Content Blocks %%[ if @industry == 'Manufacturing' ]%% [Manufacturing-specific content] %%[ else ]%% [General content] %%[ endif ]%%
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan