Skip to main content
Question

Dynamically assign values/variables inside a post message?

  • December 5, 2024
  • 2 replies
  • 18 views

  • Beginner
  • 1 reply

Looking for help and had to simplify posting from Salesforce in the slack using paths. 

I currently have a zap that splits into three different paths based on a select field on a sales force record. Each path posts the exact same message into slack with the only exception being one line of text which reflects what that selection field is on the record. Is there a way to combine this into one and perhaps assign the message with the correct line of text as a variable?

 

The reason I ask is there's a follow-up question where I need to tag a user in slack there's the corresponding owner of the Salesforce record. This could be one of 15 different people. Combined with the problem from above, I would have 45 different paths which is crazy. 

Can anyone offer a suggestion?

Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31047 replies
  • December 5, 2024

Hi ​@LPI 

Yes.

Try using this Zap action: Formatter > Utilities > Lookup Table

Formatter help: https://zapier.com/apps/formatter/help

That will allow you to make the Zap dynamic.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7532 replies
  • January 9, 2025

Hey there, ​@LPI! 👋

How did you get on with Troy’s suggestion of using a lookup table—did that work as hoped? 

Let us know whether you need any further help! 🙂