I have a N8N workflow like this, where I am getting information from two different sources and now I want to send an email using all information.
My problem is the Sendgrid object is sending two mails (I suppose due it receives 2 items) even I use a merge object to have only one input to Sendgrid.
How can I fix it?
UPDATE
After think about it better, as I need the information of both elements, I changed my workflow to be sequential and avoid errors
Welcome to the community!
You are giving it 2 items so it will run the node twice.
Try using the merge with the combine function. It depends on your data and what you want to send, how you can combine. Try by position first and see what you get.
If this doesn’t have the correct output, please let us know what data is coming from 1 and 2 and what data needs to go into sendgrid.
Thanks BramKn for your suggestions. However, after think about it better, as I need the information of both elements, I changed my workflow to be sequential and avoid errors