I hope there is someone here who can help me.
I am using Glide App and I have the free plan.
In my Glide app, I have created a custom action button.
In the app, people can choose if they want to receive email notifications.
If so, then they can fill in their email address.
In the custom action, I have an if-else condition.
If they don’t want the notification, it goes one way.
If they want to receive an email notification, it will trigger a pipedream webhook.
In pipedream, I have created the trigger and generated the URL for the webhook.
In the app, I am calling the webhook, and there I have placed the URL from the pipedream trigger.
Now, I also had to give values.
So I first selected the Not_Email (notification email column in Google Sheets) with the value Not_Email.
In the pipedream workflow, I am using the Not_Email, so an email can be sent to that email address. For values, it will show then Not_Email Not_Email.
In the send email step in pipedream, I have selected the value. In there it is showing me the current email address.
If I do a test in pipedream, it is working.
In my app, if I change the user’s email address and press the custom action button, in pipedream I get an error.
Cannot read property ‘value’ of undefined
If I change the email address back again, it is working without any error.
The thing is, any random user could press that custom action button, and then the email will be sent to their own email address.
But the way it is now, it will not work.
I also tested it by changing the second Not_Email to Name (the user name)
In the details of the pipedream workflow, I can see that an email would be sent to the user’s name. And of course, this doesn’t work. So I can see that the values are passing through.
As long as I stick to the same email address, it works. As soon as there is a different email address, it doesn’t work.
I hope it is a little bit clear about what I want to do, and what is going wrong.
And hopefully, some one can help me.
Many thanks in advance for all your help, time, effort, and tips.