Send Email from Salesforce Flow using Email Template with Send Email Action | Salesforce Geek

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.ค. 2024
  • In this video, I created a scenario to let you know how to send email from Salesforce Flow using Email Template with Send Email Action.
    🧵Salesforce Flow Course Learn from Scratch
    🔗 bit.ly/salesforce-flow-bootcamp
    🧵 Need Help with your Salesforce Flow Scenarios Book a 1:1 call with me
    🔗 topmate.io/akashubhambhardwaj...
    🧵 Need Salesforce Carrer Guidance
    🔗 topmate.io/akashubhambhardwaj...
    🧵 Roadmap to Learn Salesforce Admin and Development
    🔗 topmate.io/akashubhambhardwaj...
    🧵 Salesforce Admin mini Project (Only for Beginners) -
    🔗 topmate.io/akashubhambhardwaj...
    🧵Salesforce Apex Development Book: amzn.to/3dHMg98
    🧵For Salesforce Training & Business Enquiry:
    🔗 shubhambhardwajsf@gmail.com
    ✨GEARS I USED FOR MY TH-cam CHANNEL:
    🧵Laptop: 🔗 amzn.to/3HNCelH
    🧵Mic: 🔗 amzn.to/3DXWXlO
    🧵Mobile Tripod: 🔗 amzn.to/2Trcm6A
    🧵Shoot Tripod: 🔗 amzn.to/3opV089
    🧵Mobile: 🔗 amzn.to/3RQzitp
    🧵Camera: 🔗 amzn.to/3ljNKh3
    🧵Video Editor: IMovie
    ✨Connect with me
    🧵Instagram: 🔗 / akashubhambhardwaj
    🧵Twitter: 🔗 / digitalbhardwaj
    🧵Telegram: 🔗 bit.ly/salesforcegeeks
    🧵Website: 🔗 salesforcegeek.in
    🧵LinkedIn: 🔗 / digitalbhardwaj
    🧵Trailhead: 🔗 trailblazer.me/digitalbhardwaj
    ✨Everyone starts from zero, so let me know how can I improve my content.
    ✨All suggestions are appreciated. - 📌 shubhambhardwajsf@gmail.com
    ✨Keep Learning Keep Trailblazing and don't forget to enjoy life.

ความคิดเห็น • 66

  • @Duck-p1n
    @Duck-p1n 14 วันที่ผ่านมา

    love you man, huge thanks for this video

  • @shaswatsood4595
    @shaswatsood4595 9 หลายเดือนก่อน +2

    Hi, I tried to the same data in the email template is blank. Do you know how I can resolve it?

  • @miranajjar1211
    @miranajjar1211 3 หลายเดือนก่อน

    Hi, thank you for your tutorial, i am creating a flow triggered on the case object, but when I try to change the status after activating the flow, I get this error: "insufficient access rights on cross-reference id" can you help please?

  • @user-bn5bl7zo5y
    @user-bn5bl7zo5y 3 หลายเดือนก่อน

    Hi Need an help, I need to send email action while i edit lwc datatable in flow need fetch those data into flow send an email to user then update records in flow

  • @Adarsh595
    @Adarsh595 10 หลายเดือนก่อน

    ❤❤

  • @Sfnewbie29
    @Sfnewbie29 9 หลายเดือนก่อน +1

    Hey Shubham, thank you for this amazing step-by-step guide. I have a question regarding Use Line Breaks setting. I have it in sandbox but not in Production. My Sandbox is on Winter'24 but Production is still on Summer'23, do you think that's the reason for absence of Use Line Breaks in Production? Or is there a setting I am missing in Production? I would highly appreciate your input.

  • @maidarider
    @maidarider 7 หลายเดือนก่อน

    Hi @salesforcegeek, thanks so much for this tutorial. Have you try this with an object other than the standard (opportunity, contact, case, etc..)? I have a flow that is triggered by deliverables (NPSP custom object - npsp__Grant_Deadline__c), I'm currently using a text template within the flow for the emails's body/subject, but I want to use the Email Template. I'm either getting the "Recipient ID is required when using templates" or "insufficient access rights on cross-reference id" errors because I don't really know what to put on the required "Recipient ID".Do you have any ideas on what I should do here?

    • @sevakohanian7335
      @sevakohanian7335 หลายเดือนก่อน

      I am having this same problem, and I don't think there's any way to leave Recipient ID blank, even though it is not used for my process. Looks like I will have to stick with manually having the body and subject filled out in the flow, unless you have found a solution to this?

  • @maralfreiji6871
    @maralfreiji6871 6 หลายเดือนก่อน

    hello dear , i want to send email when opportunities is create using screen flow

  • @user-et5bp8ix1u
    @user-et5bp8ix1u 6 หลายเดือนก่อน

    Using for Opportunity object .But still getting cross reference id error .Any idea?

  • @Charlie715P
    @Charlie715P 8 หลายเดือนก่อน

    Amazing. Thank you! Does this work with classic email templates as well or only lightning email templates?

  • @user-bq8cu6dw7k
    @user-bq8cu6dw7k 4 หลายเดือนก่อน

    Hi, thanks for sharing this tutorial. I am trying to add the Edit In Builder Button. Have been into Permission Sets and got lost ! Do you have a video on how to do this ? Thanks

    • @salesforcegeek
      @salesforcegeek  4 หลายเดือนก่อน

      Hi Yes check this out th-cam.com/video/OjKlIjFd1Nc/w-d-xo.htmlsi=Li05tAgs1XALBG0M

  • @surenderreddy7977
    @surenderreddy7977 4 หลายเดือนก่อน

    I'm getting "WhatID is not available for for sending emails to userIDs" error. Can anyone explain why is it coming and how to solve this error?

  • @danyzom
    @danyzom 9 หลายเดือนก่อน

    hi, do you have to make any previous configuration to be able to send mails by actions?

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน

      No as such but if you are in Sandbox you need to consider few Email related settings

    • @danyzom
      @danyzom 9 หลายเดือนก่อน

      @@salesforcegeek if I am using a sandbox, what should be configured

  • @wienerzsolt
    @wienerzsolt 10 หลายเดือนก่อน

    If I want to send email from flow to more than 5 users at the same time. Is it possible with a workaround? Or just with an element from the unofficialsf?

    • @salesforcegeek
      @salesforcegeek  10 หลายเดือนก่อน +1

      Yes send Better Email Action pack I guess or write your own Apex Class and call it in Flow

  • @lakshmiprasannagattu
    @lakshmiprasannagattu 7 หลายเดือนก่อน

    Hey hi
    will this work for custom object also
    Please let me know how to enable email template builder

    • @salesforcegeek
      @salesforcegeek  6 หลายเดือนก่อน

      checkout this video th-cam.com/video/OjKlIjFd1Nc/w-d-xo.htmlsi=cfBYjBrs2stFbKgK

  • @user-rj7oo2ci3c
    @user-rj7oo2ci3c 8 หลายเดือนก่อน

    Hi, I tried to use the new Send Email on click of button on a record page. I need to use an email template but recipient id is mandatory. I need to send the email to external email address s0 there is no user/person record id to be used for the recipient id. In this use case, Send Email is not useful. I tried using Email Alert with email template. It works fine with external email address. However, I need to log the sent email to the record's activity history. Any idea on how it can be done? Thanks in advance.

    • @salesforcegeek
      @salesforcegeek  8 หลายเดือนก่อน

      You need to create a record of Email Message Object

    • @user-rj7oo2ci3c
      @user-rj7oo2ci3c 8 หลายเดือนก่อน

      @@salesforcegeek I tried creating a record of Email Message object and related to the record from where the email is being initiated. When I set the HTML body on Email Message record with HTML value from email template, I can see the email template in the history with the values data like 'Hi {!Object.FirstName} {!Object.Last Name}...'. I don't the actual sent email with actual values for the fields/properties. Any advice on logging the actual sent email with appropriate values?

    • @user-rj7oo2ci3c
      @user-rj7oo2ci3c 8 หลายเดือนก่อน

      @salesforcegeek could you please let me know if you have any idea/suggestion for my issue?

  • @BHARATKUMAR-zo4cy
    @BHARATKUMAR-zo4cy 9 หลายเดือนก่อน

    suppose thare is an object called 'round' and it has a field 'date and time' , how to schedule it to trigger before 3 hours?

  • @jameshopes3463
    @jameshopes3463 10 หลายเดือนก่อน +1

    I am getting this error when I use an email template in my flow. "Error Occurred: insufficient access rights on cross-reference id". I have the sys admin profile. I also created another test template WITHOUT any merge fields. Please help!!

    • @jameshopes3463
      @jameshopes3463 10 หลายเดือนก่อน +1

      @Salesforce Geek! Please help?

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน

      Hi May I know on which object you created the Email Template ?

  • @SS_732
    @SS_732 8 หลายเดือนก่อน

    Hii,
    I did the same process, though the flow is working as well as the email template. But the mail that I am receiving from that email template is not having any data from the flow. Previously when I was using it as Email Alert action, the data were populated but now after using this email template directly in flow. the field values are not populated.
    Is there something that I am missing? Can you give me your input un this scenario.
    Thanks!!

    • @sandhyac132
      @sandhyac132 8 หลายเดือนก่อน

      Hey, have you got any solution for this? I'm also facing the same issue unable to populate merge fields using email template on the record triggered flow

    • @SS_732
      @SS_732 8 หลายเดือนก่อน

      @@sandhyac132 It's working for me now. I just needed to change the related record in the send mail action, and it worked

  • @Sureshezhumalai
    @Sureshezhumalai 9 หลายเดือนก่อน

    Hi, can you please tell how to set the sender type as organisation wide email. Thanks

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน

      In the
      Sender Email Address - put the Org Wide Email Address
      Sender Type - OrgWideEmailAddress

    • @Sureshezhumalai
      @Sureshezhumalai 9 หลายเดือนก่อน

      @@salesforcegeek It's working. Thanks much for the quick response

  • @user-nl5lk8qu6t
    @user-nl5lk8qu6t 10 หลายเดือนก่อน

    If i wanna send email to admin to notify a error in activation, data stream or segment?

    • @salesforcegeek
      @salesforcegeek  10 หลายเดือนก่อน

      Can you please let me know in details so that i can help

    • @user-nl5lk8qu6t
      @user-nl5lk8qu6t 10 หลายเดือนก่อน

      @@salesforcegeek
      We need an email notification when the data stream has Publish Status in error, I followed the hands on added in the partner admin course, but it doesn't send the email in the tests we did

  • @user-xm3vc6hd3w
    @user-xm3vc6hd3w 9 หลายเดือนก่อน

    I am getting "Error insufficient access rights on cross-reference id" how i can fix it. I created flow over case object and want to send email to customer.

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน +1

      It will not work for Contact and Lead

    • @user-es5ii5ux7d
      @user-es5ii5ux7d 6 หลายเดือนก่อน

      @@salesforcegeek Are you saying that it will not work if we have contact fields in the email template?

  • @abdelmadi4680
    @abdelmadi4680 10 หลายเดือนก่อน

    If you want to send an email for a group, what do you need to change?

    • @salesforcegeek
      @salesforcegeek  10 หลายเดือนก่อน

      You need to fetch all the mails into a text collection variable also if you are planning to use core send email action you will not be able to send email to more than 5 recipients

  • @ruudrapatel2520
    @ruudrapatel2520 9 หลายเดือนก่อน

    Hi, can we include cc or bcc in the mail, is it possible?

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน +1

      No with the standard core send email action either use your own apex and call it from flow or use send better email package from unofficial Salesforce .com

    • @ruudrapatel2520
      @ruudrapatel2520 9 หลายเดือนก่อน

      Thank you@@salesforcegeek

  • @user-wd4pu8cv4r
    @user-wd4pu8cv4r 9 หลายเดือนก่อน

    getting error saveAsActivity must be false when sending mail to users. what should i do for clearing this error

    • @radhikaborate9787
      @radhikaborate9787 8 หลายเดือนก่อน

      same error I am getting. Let me know is the issue resolved for you and what solution you applied

    • @sandhyac132
      @sandhyac132 8 หลายเดือนก่อน

      ​@@radhikaborate9787 try disabling Log Email on Send in Send Email action

  • @sjpl382
    @sjpl382 9 หลายเดือนก่อน

    "Hi, thank you for your tutorial, but in the end, I get this error "insufficient access rights on cross-reference id". Do you know how I can resolve this? Thank you very much

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน +1

      Hi May I know on which object you created the Email Template ?

    • @sjpl382
      @sjpl382 9 หลายเดือนก่อน

      ​@@salesforcegeek Hi, the trigger starts from the "Lead" object, and the "Get Record" uses "Email Template" as objects

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน

      Yes It's a known issue this will not work if you use Email Template on Lead or Contact with Salesforce Flow

    • @cristianmedina1834
      @cristianmedina1834 9 หลายเดือนก่อน

      @@salesforcegeek i just proved it on other objects and get the same error

  • @nitingoyal7728
    @nitingoyal7728 9 วันที่ผ่านมา

    I have queries about salesforce flow course.
    1. Do we have any mentor who can clear our doubts in flows ???
    2. I can see there are doubt sessions classes present in course curriculum , so once I bought this course, to understand something , do we have any live mentor or any class ??

    • @salesforcegeek
      @salesforcegeek  7 วันที่ผ่านมา +1

      1. We have alternate Saturday doubt Class but currently on hault because of a medical situation at my end but we will resume doubt classes from Mid July 2024
      2. Yes you can ask your doubts but there will be more folks available so we need to give time to all of them accordingly.

    • @nitingoyal7728
      @nitingoyal7728 วันที่ผ่านมา

      @@salesforcegeek Thanks, I will learn the flows till that time but please resume the doubt classes asap

  • @jameshopes3463
    @jameshopes3463 10 หลายเดือนก่อน +1

    Hi There - Can you please assist me with this (see comment below)?

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน

      Yes just added my comments

  • @Mr__Pheonix6.9
    @Mr__Pheonix6.9 9 หลายเดือนก่อน

    Can we send it to external emails ??

    • @salesforcegeek
      @salesforcegeek  9 หลายเดือนก่อน +1

      Yes we can

    • @Mr__Pheonix6.9
      @Mr__Pheonix6.9 9 หลายเดือนก่อน

      @@salesforcegeek thanks man will try