You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed with @yannickglt, main problem about Alfred 2 workflows is on a specific input have to get the good process to output. We aren't just talking about script filter here but in general.
So a solution to that problem is to have a router which bind controller action like we could have in any web framework.
Example of a call to a workflow (scriptFilter part): slack @yga Hey
First word is always your workflow keyword, here slack
Well the others part are the core of the workflow, the query part !
Depending of how many part and which they are, you have to do something different.
A possible solution : implement a router
'@' --> ListUser Action
'@:name' --> ListUser Action (name could be use as variable for filtering)
'@:name/*' --> SendMessage Action
Draft to continue
The text was updated successfully, but these errors were encountered:
As discussed with @yannickglt, main problem about Alfred 2 workflows is on a specific input have to get the good process to output. We aren't just talking about script filter here but in general.
So a solution to that problem is to have a router which bind controller action like we could have in any web framework.
Example of a call to a workflow (scriptFilter part):
slack @yga Hey
First word is always your workflow keyword, here slack
Well the others part are the core of the workflow, the query part !
Depending of how many part and which they are, you have to do something different.
A possible solution : implement a router
'@' --> ListUser Action
'@:name' --> ListUser Action (name could be use as variable for filtering)
'@:name/*' --> SendMessage Action
Draft to continue
The text was updated successfully, but these errors were encountered: