-
How to include a unique coupon code to each lead in auto response email
Iam newly Joined here, I am not sure whether I can ask this type of questions here. If not please suggest me the best forum to post this question
I have a requirement to retrieve a coupon code from API and include that in a auto response email to leads after lead is created. My thought is to create a custom object coupon under lead and store the coupon details for each lead after retrieving it from api. Their API is not ready yet I need to test with mock API and give them request and response details to create an API.
Can I create a flow for the whole process, like after lead insert, apex code to retrieve the coupon code and save it in Leads coupon record and send an auto email to lead with coupon code attached.
Any Ideas would be greatly appreciated.
Log In to reply.
Popular Salesforce Blogs

Learn About Apex Triggers in Salesforce & When to Use It
Apex Triggers Apex triggers allow custom actions to be performed before or after data manipulation language (DML) events occur in Salesforce, such as insertions, updates,…

Highlights of Salesforce and Alibaba collaboration
Salesforce and Alibaba Cloud have confirmed that they are working on a deal to build Salesforce Social Commerce, a headless commerce platform that will be…

How to Use Salesforce for Customer Retention – 5 Effective Tips
Customer retention is the process of retaining customers and preventing them from switching to some other brand with a similar product or service. It plays…
Popular Salesforce Videos
Get Together Safely with Salesforce Safety Cloud
Learn how Safety Cloud helps people get together in person, safely. Safety Cloud helps businesses and communities better manage their testing, health and entry protocols…
Salesforce Sales Engagement Mastery: Proven Strategies for Efficiency and Success
Salesforce stands as a cloud-based customer relationship management (CRM) software capable of revolutionizing sales procedures and enhancing the efficiency of internal sales representatives. This dynamic…
Salesforce Financial Services Cloud demo
Today's seamlessly connected customer is raising expectations for organizations to "show them they know them" by providing efficient, informed and integrated experiences no matter which…