mamad
mamad9mo ago

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"
No description
6 Replies
Gaurav Chadha
Gaurav Chadha9mo ago
@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.
mamad
mamad9mo ago
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 } ]
Gaurav Chadha
Gaurav Chadha9mo ago
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.
No description
mamad
mamad9mo ago
ah ok ! Thank you @Gaurav Chadha will try that but why it's failed while my email data is valid ?
Gaurav Chadha
Gaurav Chadha9mo ago
Because the regex only run on the email directly, it was not reading the content from the array dynamically.
mamad
mamad9mo ago
okay thank you @Gaurav Chadha