Problem with boolean from a webhook

Describe the issue/error/question

A boolean from a webhook (true or false) from a JSON body. Then send to a node HTTP (body JSON), false does not work and sends an empty body. True works

What is the error message (if any)?

No error. Just the false is not returned. I need to change it to 1 or 0 for this to work.

Please share the workflow

Data :
{

"data": {

    "test": true,

    "test2": false

}

}

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.172.0
  • Database you’re using : SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via Docker:
1 Like

Hey @Nelekt,

Thanks for posting this one here :+1:

Note for future me or anyone else looking workflow below reproduces the issue, When using bools in an expression to build out a message the false is not displayed.

1 Like