Gmail node issue
Hi, I'm trying to use the gmail node but i have an issue with the field Receiver Email , i fill this field with the result of another node by using the syntax in the screenshot but i have this error : "Receiver Email is not valid"
6 Replies
@mamad What is the value of GetPassanger and the complete response? If you can share a sample? We can see how to reference it, although dot operator is the correct approach here, which you have used.
Hi @Gaurav Chadha here an example :
[ { "id": 5, "created_at": "2024-01-12T09:10:11.019995+00:00", "firebase_uid": "7MUskgqFWmd7CMK4C9qq6GuDjh22", "email": "mamad+2@faastdev.co", "lastname": "NIANG", "firstname": "Daouda", "iban": null } ]
[ { "id": 5, "created_at": "2024-01-12T09:10:11.019995+00:00", "firebase_uid": "7MUskgqFWmd7CMK4C9qq6GuDjh22", "email": "mamad+2@faastdev.co", "lastname": "NIANG", "firstname": "Daouda", "iban": null } ]
Oh, I see, Yes we have validation on the reciever email field. To eliminate this issue, you'll have to go to node logic --> In inputs --> Receivers email field and remove the validation from the receiver's logic.
ah ok ! Thank you @Gaurav Chadha will try that
but why it's failed while my email data is valid ?
Because the regex only run on the email directly, it was not reading the content from the array dynamically.
okay thank you @Gaurav Chadha