Skip to main content

Customizing recipe text input with data from board items

  • January 24, 2024
  • 3 replies
  • 173 views

Timelines

Hello!
We are developing a recipe, that is supposed to send a message when an item’s status changes. We want to allow a user to customize a message by using the content of the board item’s fields (for example, “Name”):


Something in the vein of template variables: “Hello, {{first_name}}, how are you?”
Is that possible? How should the recipe be configured to allow selecting of item fields in the text input of the recipe?
Thanks!

3 replies

  • Participating Frequently
  • January 24, 2024

There are actually two fields called message! Confusing!

There is Message, and there is message. The Message with a capital lets you pick the fields from an item to use.

That said, the way it works, it sends the raw text with the field placeholders (and in a format like {pulse.name} or {board.name}, pulse being an item ) to you and you have to perform the substitutions in your code. It does not perform the substitutions for you! Also annoying at times, but other times its not since it does make the Message field more useful - it can be used to gather a list of columns for example.


Timelines
  • Author
  • New Participant
  • January 25, 2024

Thanks, exactly what we needed, much appreciated!


Matias.Monday
Forum|alt.badge.img
  • monday.com Team Member
  • January 28, 2024

Thank you @anon29275264 for the help!!!