Lindy Community Icon

Troubleshooting Conditional Logic in Code After Data Extraction

·
·

i'm hung up on something seemingly trivial. i have a codeblock that grabs a number out of a data set & i want to run a conditional on that number right after the code block, but i cant seem to get it to work. i see that the codeblock returns an object with the number attributed to the variable "result", but no matter what i write in the conditional it's not respected. i'm simply filtering out based on the number > or < 1200. i did notice that unlike other integrations, you cant just reference the result object from a previous step, you have to type in plaintext.

  • Avatar of Marvin A.
    Marvin A.
    ·
    ·

    hmm thanks for flagging! can you please share the task URL? happy to take a look

  • Avatar of Marvin A.
    Marvin A.
    ·
    ·

    How to share your Lindy task URL: 1. Click your Lindy agent → click “tasks” 2. Find the task you need help with 3. Click the specific task (you should see the full execution) 4. Copy that page URL from your browser 5. Paste the URL in your support request Note: The URL should include “task” followed by a number Screenshots are also helpful!