I am trying to create a notification letter from the datocms website about a new blog entry. I can do it. But I need to create an email only for certain blog categories. Is it possible to create a condition for creating a letter? For example, if the property is "true", create a letter, if not, do not create.
This returns a list of blog articles. You can filter this, for example, so it is only the most recent 5 blog entries that are returned. This returns the follow JSON response:
You can take the "categoryId" response and conditionally send an email based on that category. This will ensure you are only triggering the next step to send the email when the category is correct.
I hope this helps! If you have any more questions I am happy to work through it with you.