Extensions
Usage
Basic Guide
- Extensions are simply workflow steps.
- Using
args(arguments) you can provide data like a URL. - Output is stored in
context, usually incontext[extension_name]
Specific Guidelines
- Extensions (must) return
0or differentnumberto determine the next step. - Extensions may use, store and overwrite
contextvariables to easily communicate API_KEYS and other global variables across different scripts and languages. - Setting
set_context(must) set(s) a custom outputcontextvariable. This for example enabled the workflow owner to change the stored output fromcontext[extension_name]tocontext["custom_var1"]
Click on a term below to learn more:
Using HTTP in Nyno Workflows
workflow:
- step: nyno-http-get
args:
- "http://localhost:9057"
Using SQL in Nyno Workflows
workflow:
- step: nyno-sql
args:
- "SELECT * FROM json_storage LIMIT 10"
Transforming Lists in Nyno Workflows
workflow:
- step: nyno-transform
args:
- ["Amsterdam","Madrid","Tokyo"]
- site:linkedin.com/in ceo $[city]
Research in Nyno Workflows
workflow:
- step: serper-search
args:
- site:linkedin.com/in CEO of FlowAGI
Gen AI in Nyno Workflows (text)
workflow:
- step: ai-openai-text
args:
- cool short python code example
Gen AI in Nyno Workflows (media)
workflow:
- step: ai-openai-image-edit
args:
- /path/to/file.png
- improve the colors of this logo