Sheet Update and if else logic

Hi,

I’m trying to build the following flow (https://www.gumloop.com/pipeline?workbook_id=9qvVXffm4VsfuzFdbnBYSX&tab=2)

Check the last message on Slack sent by me > IF contains “Approved” then post it on Linkedin and uncheck the checkbox “New Content” in the google sheet, IF NOT, then elaborate it again following the prompt in my message, send it again on slack and update the google sheet with the new LinkedIn generated content without unchecking the “new content?” checkbox.

Now the problem is that even if the condition is not TRUE, the “update sheet” with the command uncheck the checkbox is triggered but it should be triggered only if the condition is met and the content posted

What can I do? I tried also with 2 if else but it’s the same, still both google sheet updaters are executed.

Hey @Lucavi94! If you’re reporting an issue with a flow or an error in a run, please include the run link and make sure it’s shareable so we can take a look.

  1. Find your run link on the history page. Format: https://www.gumloop.com/pipeline?run_id={your_run_id}&workbook_id={workbook_id}

  2. Make it shareable by clicking “Share” → ‘Anyone with the link can view’ in the top-left corner of the flow screen.
    GIF guide

  3. Provide details about the issue—more context helps us troubleshoot faster.

You can find your run history here: https://www.gumloop.com/history

Here is the link https://www.gumloop.com/pipeline?workbook_id=9qvVXffm4VsfuzFdbnBYSX&tab=2&run_id=6MDwbDQTYhMHeptDGRhZfw

Maybe I have solved thanks to two sub-flows, but isn’t there really any solution to make it works in only one flow with If else logic?

Hey @Lucavi94 – Subflow here would be the correct and most robust solution. You have set it up exactly how I would have recommended :slightly_smiling_face:

Amazing, thank you anyway

1 Like

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