Required Property is missing / WHat can be possible solution

Describe the problem/error/question

Create a workflow for getting invoice sent to email A. and if invoice will be sent to Email B. if not. end workflow. Trigger is when recieve email

What is the error message (if any)?

Problem in node ‘Send a message‘

Required property is missing.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • **n8n version:**Version 1.111.1
  • Database (default: SQLite): N/A
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): N8n Cloud
  • Operating system: Windows 11

@Aaron_Libago Your email sending node is missing the file attachment.

Replace your second “Code” node with an IF node set to check isInvoice is true. The IF node is better at passing files through than a Code node.

Does this answer your question?

2 Likes

sorry addtional question the code node is checking the pdf file also additional checking .. do i need to remove it ? and directly go to if condition ?

@Aaron_Libago Based on your workflow, you can simplify it by removing the Code node and using the IF node directly to filter PDFs, which is more efficient

kindly mark as the solution if I helped

1 Like

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