-1

The Chatter posts include the particular Salesforce record that they are referencing, however the record isn’t linked within the text. For example:

Currently a Flow-posted Chatter message might read:

“Hi, Record 00Q8e00000160c7EAA needs updating, please update the Title field. Thanks.”

We’d like the Chatter post to read:

“Hi, Record 00Q8e00000160c7EAA needs updating, please update the Title field. Thanks.”

See how the record is “clickable” so the user doesn’t have to copy and paste the ID into their browser URL bar?

Do you know how to configure this linked text for an automated Chatter post within a Flow?

1 Answer 1

0

For the message part of the 'Post to Chatter' Action in your Flow, create a formula and use something like this:

"Hi, " & "<https://YourOrgHere.lightning.force.com/lightning/r/RecordNameHere/"+{!$Record.Id}+"/view|"+"Record"+{!$Record.Id}+">" & " needs updating. Please update the Title field. Thanks." 

Please be sure to swap out 'YourOrgHere' in the example with whatever comes before lightning.force in your URL and 'RecordNameHere' with the record type you're trying to link to.

If this works for you, please mark this as the best answer. Thank you!

Here is a resource link to a helpful blog on this topic: Post to Chatter with hyperlinks to records

7
  • How to generate the links when the flows gets record from automation and post it to chatter, Rather than we give the record id and all details
    – Aswin
    Jun 3 at 11:57
  • @Aswin - I'm not sure I understand the question. When you're creating the flow automation, you will need to create a resource within the flow. The resource should be a formula, similar to the one I outlined above. When you choose the messagee that posts to the chatter, you'll set the message body equal to the formula resource, and it should create the text with a working link, as requested. Jun 6 at 13:20
  • Hi there, Opportunity " & "<00D58000000I0NG.lightning.force.com/lightning/r/…{!$Record.Id}+"/view|"+"Record"+{!$Record.Id}+">" & " with Channel Partner Site: {!$Record.Account.Name} by RSM: {!$Record.Owner.FirstName} {!$Record.Owner.LastName} was created and needs a Case for its installation.
    – Aswin
    Jun 13 at 14:28
  • is this is the correct formula
    – Aswin
    Jun 13 at 14:29
  • Hi there, Opportunity " & "<00D58000000I0NG.lightning.force.com/lightning/r/…{!$Record.Id}+"/view|"+"Record"+{!$Record.Id}+">" & " with Channel Partner Site: {!$Record.Account.Name} by RSM: {!$Record.Owner.FirstName} {!$Record.Owner.LastName} was created and needs a Case for its installation.
    – Aswin
    Jun 13 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.