Sendgrid Node is not sending the data specified in the expression , even though the expression shows output in the 'Edit expression' space

Describe the issue/error/question

Sendgrid Node is not sending the data specified in the expression , even though the expression shows output in the ‘Edit expression’ space.

What is the error message (if any)?

no error message

Please share the workflow

Share the output returned by the last node

none

Information on your n8n setup

  • n8n version: 1.7
  • Database you’re using (default: SQLite): postgress
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: dekstop app

As you can see the expression is not null .

But when i send the mail using sendgrid , the output looks like this
image

Hey @kayjey,

Welcome to the community :raised_hands:

It looks like it is a parsing issue, So what is happening is as the data is an object it is just sending the object as a string rather than parsing it first to send it.

Can you try {{ JSON.stringify( $node["Postgres"].json ) }} and let me know if that works.

1 Like

Thanks , that worked !

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.