# IF node does not return 'true'

**URL:** <https://community.n8n.io/t/if-node-does-not-return-true/25164>\
**Category:** Questions\
**Tags:** node\
**Created:** [April 14, 2023, 12:47am UTC](https://community.n8n.io/t/if-node-does-not-return-true/25164 "2023-04-14T00:47:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdavidg](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@fdavidg](https://community.n8n.io/u/fdavidg)\
**Post date:** [April 14, 2023, 12:47am UTC](https://community.n8n.io/t/if-node-does-not-return-true/25164/1 "2023-04-14T00:47:56Z")

</div>

## Describe the problem/error/question

IF node does not return true when condition is true,

## What is the error message (if any)?

## Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

## Share the output returned by the last node

## Information on your n8n setup

-how do i find the version number?

- Airtable
- default
- desktop app
- Windows 10 Pro

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [April 14, 2023, 2:47pm UTC](https://community.n8n.io/t/if-node-does-not-return-true/25164/2 "2023-04-14T14:47:52Z")

</div>

Hi @fdavidg!

If you’re using an expression, you would need to use something along the lines of `{{ $json.fields["First Name"] }}` in value 1, so your If statement knows how to find and use that value. If you’re looking for only people named Frank, you also don’t need an expression in the second value of the ‘if’ statement - you can instead use the ‘fixed’ option and just type `Frank`.

You can read more about expressions [here](https://docs.n8n.io/code-examples/expressions/), which might help give you a better overview!

---

<div class="post-metadata">

**Author:** ![fdavidg](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@fdavidg](https://community.n8n.io/u/fdavidg)\
**Post date:** [April 14, 2023, 6:04pm UTC](https://community.n8n.io/t/if-node-does-not-return-true/25164/3 "2023-04-14T18:04:03Z")

</div>

Thank you very much EmeraldHerald! That fixed my issues!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [April 21, 2023, 6:04pm UTC](https://community.n8n.io/t/if-node-does-not-return-true/25164/4 "2023-04-21T18:04:10Z")

</div>

Closed on April 21, 2023, 6:04pm UTC

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