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

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

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

  • @TheAudithor73
    @TheAudithor73 6 หลายเดือนก่อน +1

    Thank you man!
    Strong with you the Salesforce is!

  • @shaswatsood4595
    @shaswatsood4595 ปีที่แล้ว +2

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

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

    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

  • @Duck-p1n
    @Duck-p1n 7 หลายเดือนก่อน

    love you man, huge thanks for this video

  • @maidarider
    @maidarider ปีที่แล้ว

    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 8 หลายเดือนก่อน

      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?

  • @jameshopes3463
    @jameshopes3463 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      @Salesforce Geek! Please help?

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

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

    • @sumitsanoria6795
      @sumitsanoria6795 28 วันที่ผ่านมา

      @@salesforcegeek facing same issue on Lead Object

  • @JohnSadler-v8u
    @JohnSadler-v8u 9 วันที่ผ่านมา

    I was hoping you'd show where the email is logged against the Contact

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

    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?

  • @RanjiitA-v7y
    @RanjiitA-v7y ปีที่แล้ว

    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  ปีที่แล้ว

      You need to create a record of Email Message Object

    • @RanjiitA-v7y
      @RanjiitA-v7y ปีที่แล้ว

      @@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?

    • @RanjiitA-v7y
      @RanjiitA-v7y ปีที่แล้ว

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

  • @maralfreiji6871
    @maralfreiji6871 ปีที่แล้ว

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

  • @Charlie715P
    @Charlie715P ปีที่แล้ว

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

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

    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  11 หลายเดือนก่อน

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

  • @danyzom
    @danyzom ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

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

    • @danyzom
      @danyzom ปีที่แล้ว

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

  • @lakshmiprasannagattu
    @lakshmiprasannagattu ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

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

  • @wienerzsolt
    @wienerzsolt ปีที่แล้ว

    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  ปีที่แล้ว +1

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

  • @Raj-j7x
    @Raj-j7x ปีที่แล้ว

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

  • @SS_732
    @SS_732 ปีที่แล้ว

    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 ปีที่แล้ว

      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 ปีที่แล้ว

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

  • @SilviaMariaEbertBarbosa
    @SilviaMariaEbertBarbosa ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

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

    • @SilviaMariaEbertBarbosa
      @SilviaMariaEbertBarbosa ปีที่แล้ว

      @@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

  • @KalpanaVerma-v9t
    @KalpanaVerma-v9t ปีที่แล้ว

    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  ปีที่แล้ว +1

      It will not work for Contact and Lead

    • @ElissaStern
      @ElissaStern ปีที่แล้ว

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

  • @BHARATKUMAR-zo4cy
    @BHARATKUMAR-zo4cy ปีที่แล้ว

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

  • @ruudrapatel2520
    @ruudrapatel2520 ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว +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 ปีที่แล้ว

      Thank you@@salesforcegeek

  • @Mr__Pheonix6.9
    @Mr__Pheonix6.9 ปีที่แล้ว

    Can we send it to external emails ??

  • @JohnSadler-v8u
    @JohnSadler-v8u 9 วันที่ผ่านมา

    Note developer name is actually the Template Unique Name so, certainly for Classic email templates, that value is easily found 🙂

  • @Sfnewbie29
    @Sfnewbie29 ปีที่แล้ว +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.

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

    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.

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

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

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

    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?

  • @Sureshezhumalai
    @Sureshezhumalai ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

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

    • @Sureshezhumalai
      @Sureshezhumalai ปีที่แล้ว

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

  • @Adarsh595
    @Adarsh595 ปีที่แล้ว

    ❤❤

  • @sjpl382
    @sjpl382 ปีที่แล้ว

    "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  ปีที่แล้ว +1

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

    • @sjpl382
      @sjpl382 ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

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

    • @cristianmedina1834
      @cristianmedina1834 ปีที่แล้ว

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

  • @jameshopes3463
    @jameshopes3463 ปีที่แล้ว +1

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

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

    its not working at all

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

      What is not working?

  • @abdelmadi4680
    @abdelmadi4680 ปีที่แล้ว

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

    • @salesforcegeek
      @salesforcegeek  ปีที่แล้ว

      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