Skip to main content

#Email Messages1 discussing

0/9000

Hello Trailblazers, 

  I want to send an email with the contents that have curly braces, is there any way to send the mail with that content? I tried searching the validation rules, I think something else is filtering these content, what could be the possibilities ?

Hello Trailblazers, I want to send an email with the contents that have curly braces, is there any way to send the mail with that content?

 

#Email

 

#Service Cloud #Salesforce

 

#Trailhead Challenges #Salesforce Developer #TrailblazerCommunity #Salesforce Admin #Email Messages #Sales Cloud #Send Email

2 comments
  1. Mar 6, 2024, 11:25 PM

    Hi @Nikesh Maharjan,

     

    Hope you are doing well.

     

    I am from the Trailhead help team. May I request you please let us know if this is part of any Trailhead module/project that you are working on so that we can understand better and can help you further.

     

    If this is related to any Trailhead badge, kindly share the URL of the Trailhead so that we can assist further.

     

    Kind Regards,

    Nagendra Babu Pilli

    Trailblazer Help.

0/9000

Hey guys, hope all of you are good.

 

I need help to find a way to block the users from sending blank emails. I already created and tested the following validation rules, but it doesn't worked.

 

1st try: ISBLANK(TextBody)

2nd try: ISNULL(TextBody)

 

#Validation Rule  #EmailMessage Object  #Email Messages

5 answers
  1. Bradley Weller (Fast Slow Motion) Forum Ambassador
    Feb 27, 2024, 11:42 PM

    I expect the issue is that the email message object is basically a log of the email being sent rather than playing a part in initiating the send. Therefore, the Validation Rule could prevent the creation of the email message record, but not the email send.

0/9000

Hi All,

 

When the Enhanced Email feature is activated, emails sent from Salesforce are logged as Email Messages and Tasks.

reference: https://help.salesforce.com/articleView?id=000313606&type=1&mode=1

 

So now i would like to update the task that gets created when the email message is created.

I have read that the EmailMessage object has an actvity id pointing to the Task that was created.

 

Still i don't know how i can link them together in the flow so i can update the Task that is directly related to the emailmessage.

 

Anyone some suggestions?

3 comments
  1. Apr 15, 2021, 10:00 AM
    From there the connection is created and you can do all the automation you like. As in my example update the Task
0/9000

Bonjour à tous,

 

Nous avons développé du code APEX afin d'envoyer des mails personnalisés

à nos client pour tout ce qui est Case et suivi de Case.

 

Aujourd'hui nous introduisons le ThreadId dans les mails grâce à une fonction qui récupère ou recalcul le ThreadId mais SalesForce va passer en Header avec des Message-ID et des References et je ne trouve aucune doc ou fonction à ce sujet.

 

Un peu d'aide serait la bien venue de la part de la communauté.

 

Merci à tous

0/9000

I am trying to build a flow for Email-to-Case that would allow automated ownership and field changes based on the related email messages.

What I have in mind:

1. Email arrives to either one of these queues:

    • Broker_Emails_UK_Office (routing criteria: if related account`s party code is NOT ”LMEU”, go to this queue)
    • LMEU_Emails (routing criteria: if related account`s party code is”LMEU”, go to this queue)

2. Autoresponse email is sent

3. Team is taking ownership of cases manually from the respective queues

4. Response is sent by agent – Case status automatically changes to: “Response Sent” and ownership moved back to: In_Progress_ Broker_Emails_UK_Office OR In_Progress_ LMEU_Emails

5. When a response is received, the case status changes to: “To Respond” and agents can take ownership manually again

6. Once the case is resolved, either the agent closes the case or if there are no incoming or outgoing emails related to that case, change the status to “Closed”.

7. If a customer responds, change the case status to “To Respond”

 

This is the solution I tried to create, but no luck so far:

  1. Object: Email Message;  “A record is created” & “after the record is saved”
  2. I added as conditions the FromAddress OR ToAddress EQUALS the email-to-case email address ( Not sure if that`s a good idea….or how else could I filter for the relevant messages. I am a bit concerned that if an agent changes the From address, things may get missed. This should supress autoresponder though.
  3. Get records: To get related cases – Object: Case, Conditions met: Id EQUALs {!$Record.RelatedToId}; Only the first record, Automatically store all fields
  4. Decision: Incoming Emails for Different Offices
    1. Route: Outgoing Email - UK Office
      1.  $Record > Is Incoming EQUALS FALSE) AND ({!Get_Related_Cases.Account.Party_Code__c} NOT EQUAL “LMEU”)
      2. Assignment: {!Get_Related_Cases.OwnerId} ADD– queue`s id ( I realise that hard coding is bad, but with get records I didn`t know how to look up the custom metadata types`s record for 2 records that correspond to the 2 queues and not only have a specified or all items there. Do I do 2 separate get records?
    2. Route: Outgoing LMEU email
      1. ({!$Record.Incoming} EQUALS True) AND ({!Get_Related_Cases.Account.Party_Code__c} EQUALS LMEU)
      2. Assignment: {!Get_Related_Cases.OwnerId} ADD Queue`s id
    3. Decision: Close?
      1. ({!Get_Related_Cases.LastReferencedDate} GREATER THAN here I created a formula variable {!Notreferencedfor5days} ) .

 {!Notreferencedfor5days} = NOW()-5

                       4. Assignment: Close case: {!Get_Related_Cases.Status} EQUALS Closed

 

Testing:

The ownerships didn`t change as expected.

 

I hope someone can guide me in the right direction. Any help is appreciated!

Thank you!

 

@Salesforce Flow Automation 

1 comment
0/9000

Might not be the right place for the question, but I am counting on this groups advanced expertise to help.

 

Do email message records (from enhanced email) relate automatically to the newly converted contact, Account, and (more specifically) created Opportunity on a lead conversion?

 

Background:

 

Converting leads in an Org, to matching Account and Opportunity records (creating new Opportunity). All of the activity (including email messages - enhanced email) appears on the Opportunity page. When the user expands the message, and then clicks reply from the Opportunity page, He is unable to create an email. I isolated the reason - the email message is NOT related to the associated Opportunity. If he clicks the name of the converted lead, he links back to the created contact record, and then you can write an email, and manually relate it to the Opportunity. 

 

Logged in as myself, I am able to relate these, but when I click the reply link, it links to the converted lead. Reason? I have view/edit converted leads. Removed that permission, and I can't do it. Gave the user that permission, and he can now create email, but again, relates to the converted lead (which will go to the contact, but not the Opportunity). I don't want to give him view/edit converted leads.

 

Difficult to find information on this. The only thing I see is from Salesforce, that List Emails do NOT relate to the Opportunity. 

 

I suspect standard behavior - they show on the Opportunity page. But the problem is these famous last words... "It worked just fine until a couple of months ago."

Converted Lead Behavior

0/9000

Hi everyone,  

 

Having. an issue with CPQ email approvals in gSuite. When automated email messages are sent from Salesforce, the "from" is a system generated Salesforce account. When these messages are received in gmail, they show up as 'possible' Phishing email. 

 

How do we automatically mark these email as "safe" ?

 

Thanks. :) 

1 comment
0/9000