How add feature on my app that can I load list of template and sent message

Hello,

I am planning to develop a Monday.com automation app that will allow users to send messages to phone numbers stored in a Phone column.

The app will work as follows:

  • Users will have access to a list of pre-approved message templates.

  • The user can select one template, and the message editor will automatically populate with the template text.

  • Inside the message editor, users will be able to map values dynamically using suggested column names (Monday automatically suggests columns with the “Message” field type).

  • Once the automation is configured and saved, it will listen for the specified trigger event.

  • When the event occurs, a custom execution API endpoint will capture the event and process the operation (sending the message to the phone number).

I would appreciate guidance on the recommended approach, required APIs, and best practices to implement this workflow in a Monday.com automation app.

Thank you in advance for your support.

Hello @whatsabledev This is a good use case for a custom integration recipe with a trigger and a custom action.

You’d define the trigger for the monday event you care about, and an action that sends the message. When the automation runs, monday calls your action Run URL with the mapped inputs, and your server can read the Phone column value, render the selected template with dynamic fields, and send the SMS.

For templates and dynamic values, build this into the action UI. Use a template dropdown and a message field that supports dynamic mapping so users can insert column values safely. At run time, monday will resolve those values for you.

Use the monday GraphQL API to fetch item and Phone column data, normalize the phone number, and follow SMS best practices like consent handling, retries, and clear error responses.

Dr. Tanvi Sachar
Monday Certified Partner, Tuesday Wizard

Could you please guide me on how to build a dynamic mapping UI for this use case?

I have a list of pre-built templates, and I’ve already implemented the functionality to load and display them. Each template contains a different number of variables—some have 2, while others may have 3, 4, or 5.

When a user selects a template, I want the mapping UI to dynamically render input fields based on the number of variables in the selected template. For example:

  • If the selected template has 2 variables, the UI should display:

    • Field 1 body

    • Field 2 body

  • If it has 3 variables, the UI should display three corresponding fields, and so on.

Each template has a unique ID, and using this ID, I can successfully fetch the template metadata, including the number of required inputs. My main question is how best to dynamically populate and render the appropriate number of input fields in the UI based on this data.

I’d appreciate any guidance or best practices for implementing this efficiently.

I want to build UI like this picture

Hello @whatsabledev
You’re thinking about it the right way. The cleanest approach is to drive the UI entirely from template metadata.

When a template is selected, fetch its variables and normalize them into an array. Store user mappings in state keyed by variable ID. Then simply render inputs by mapping over the variables array. React will handle adding and removing fields automatically when the template changes.

If you’re mapping to monday columns, fetch board columns once, filter options by compatible column types, and disable columns that are already mapped to avoid duplicates.

If this lives inside a monday app, building it as a View or Widget with React works well. For a more native recipe-style experience, dynamic mapping is the recommended pattern.

Dr. Tanvi Sachar
Monday Certified Partner, Tuesday Wizard


Here is my current message box, but it is the default. I want to show as like the Number 1 picture as a UI message box.


1 . When the user clicks on the message, I want to show this UI based on the selected template


2. The given 2 pictures of the recipe sentence are from my app, but I wasn’t able to load the dynamic UI. I dont undersatnd how I can build this.

Could you please take a look at the attached image?

I want to display dynamic fields inside the message box, similar to the UI shown in the picture. I am already able to load the list of templates, but now I want the message box to dynamically render input fields based on the metadata of the selected template.

As mentioned earlier, each template has a different number of variables, and I can fetch this information using the selected template’s ID. Based on that metadata, I want to dynamically generate and display the corresponding fields within the message box UI.

I have reviewed the documentation, but I’m still unclear on how to properly implement this behavior. Could you please explain the recommended approach, or, if possible, share any relevant resources or examples that could help me build this correctly?

Thank you in advance for your support.

Hello @whatsabledev monday Views can’t dynamically load or switch message templates based on a user’s selection. Templates must be predefined and the View won’t re-render at runtime.

What works instead:
• Create one View per WhatsApp template and open it via a button or status change
• Use a Status or Dropdown column to select the template, then trigger the correct automation
• Collect inputs via a Form or external UI, then send the template using automations

If you want, you will need do a paid working session where we offer a 60-minute Monday strategy session where we review your setup, recommend improvements, and map out next steps.

I have also built several custom views and implemented the Integration Sentence Builder feature. The recipe sentence automation builder is working well overall.

However, I am currently stuck while building a dynamic recipe sentence UI inside the Integration Sentence Builder. I have already posted in the community and sent an email to monday support, but I have not received a response yet. That’s why I’m writing with a detailed explanation of what I’m trying to achieve and where I’m facing difficulties.

What I want to build

I want to create a recipe sentence like:

When {status} changes to {something}, send {template name} {dynamically loaded inputs based on the template} from {WhatsApp account number} to {phone column of the board}.

Here’s what is already working:

  • I can dynamically load all placeholders (status, phone column, etc.) from monday.

  • I can load a list of message templates from my server.

  • When a user selects a template, I successfully receive the selected template ID.

The challenge

Each template (WhatsApp Business pre-approved template) can have a different number of dynamic input variables.
For example:

  • Template A has 3 inputs → the UI should show Field 1, Field 2, Field 3

  • Template B has 1 input → the UI should show Field 1

  • Template C has 5 inputs → the UI should show Field 1–5

These input fields should allow users to map monday board columns (similar to how other integrations allow column mapping).

My server already returns how many inputs a selected template has, but I am struggling to understand how to dynamically render these input fields inside the Integration Sentence Builder UI based on the selected template.

I have noticed that some existing monday applications have already implemented similar dynamic input behavior inside their recipe sentences. Based on that, I believe this should be possible within the platform, and I would like to implement a similar approach in my own application following best practices.

Reference

This behavior is similar to WhatsApp Business pre-approved templates, where messages have predefined text and dynamic variables that must be filled before sending the message.

When the automation is triggered, I will send the mapped data to my execution API, and my server will handle the rest.

I will share screenshots and a short video to better explain the expected UI and behavior.

I have gone through the monday documentation, but I couldn’t find a clear solution for dynamically rendering such input fields inside the recipe sentence.

I would really appreciate any guidance, examples, or documentation references that could help me implement this correctly.

Explanation video link : https://www.loom.com/share/5784471c93f84f65afdad5eb1fe0f9a7

I want to load UI like this when the user selects a template and then click message.

Thank you very much for your time and support.