Mastering Variable Setting in Make.com: A Comprehensive Guide
Have you ever found yourself in a situation where you need to set a variable on one route and use it on another while working with Make.com? If yes, then you're not alone. This is a common challenge that many users face, and in this article, we'll walk you through a step-by-step solution to overcome this issue.
The Problem
Let's say you have a jotform that is used to add a record to Notion. This jotform may or may not also pass an id for a relation on the new Notion record. To avoid errors, you want to verify that the id and relation exist before the new record is created. If the relation does not exist, which means the id is invalid, the id should be set to blank so that when the new record is added no relation is created.
This is a classic situation where you should be able to create a branch of logic that then rejoins the main execution. But for some reason, this is not easy to do in Make. You might have read lots of posts about workarounds for this and might be surprised there is no easy way to do this.
The Solution
In the second route, use the get variable module (before the Notion Module), and over there type the variable name (not the mapping). This way, if the variable is set on the second module or on the first module, it will be reflected.
Troubleshooting Tips
If you're still facing issues, make sure you're typing the variable name correctly in the get variable module. Also, ensure that the variable is set correctly in the first module.
Conclusion
Setting a variable on one route and using it on another in Make.com might seem challenging at first, but with the right approach, it can be done easily. Remember, the key is to use the get variable module in the second route and type the variable name there. This way, the variable set in the first or second module will be reflected correctly. Happy Making!
You do have further questions?
Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.