Hello 🙂
Hello 🙂
I'm creating a workflow to ingest some contact forms and I've got a question.
If I have a company I will go on route A, if I don't I will go on route B, then I will create an opportunity and a note for each opportunity if I have a message.
Is there an optimal way of doing this or I need to do both paths?
Since I want to use the ID of the person created with or without a company I can't pass that into the same path like this because I can only use 1 ID not both?


8 Replies
Btw, I can't also pass a var for a country code right?
I'd say right now your solution is optimal until if/else nodes are implemented in Q4 https://github.com/twentyhq/core-team-issues/issues/1265
GitHub
🔀 If/Else Node · Issue #1265 · twentyhq/core-team-issues
Description: If/else node makes sure that workflow always continues with the path changing depending on the condition. Default behavior: If/else nodes split into two paths → If (true) or Else (fals...
Thanks @bob 🙂
Someone could have another solution but it seems good then
And you have to use both routes, I've reproduced and simplified your workflow and there's no way to pass the ID from both code nodes as one filter blocks the way

And passing country code from Create Person node?
The thing is I can have several different country codes, I created a function to extract the country code.
So if I had a + I would separate and pass that into the coutnry code and then the number.
Thank you for having a look bob!
From what I can see, apparently you can't pass country code 🤔
@Baptiste Devessier do you maybe have more information why it's not possible to pass variable for country's code in phone field in workflow?
Thanks for mentioning me, @bob.
cc @thomast