Skip to main content
Question

Prompt variables in engage

  • June 12, 2026
  • 1 reply
  • 3 views

Forum|alt.badge.img

Hi
Can a prompt be created in an email to check the value of a salesforce field and based on the fields value to then include a specific block?

 

For example a prompt would read - if a specific Salesforce field value is “A” - then Gongs Block named “A” is included in the email. 

1 reply

Forum|alt.badge.img+2
  • Community Manager
  • June 15, 2026

@Nicholas Molloy There is currently no support for automatically inserting a specific named block based on a Salesforce field value. I suggest keeping the conditions within a single block, template, or flow step and use that for your messages. 

Depending on your use case, you may be able to use Conditionals under Field Placeholders. You could also try using an Inline Prompt with Field Placeholders to insert what you want based on fields from Salesforce. For example, here is a simple prompt: “[[If the first name of {{recipient.first_name}} starts with A-G, insert “messaging A”. If their first name starts with H-Z, insert this “messaging B”]]”. The double curly brackets represent a Salesforce field. You can use multiple Salesforce fields in your prompt. 

Hopefully this helps!