Automation Menu
...
Workflows
The Workflow Editor
The Code Editor
1min
For users who prefer to work directly with the workflow’s code, this button opens up a code editor. This editor allows for viewing and editing the workflow manifest, offering a more technical and detailed approach to workflow management.
It caters to users who are comfortable with direct code manipulation or who need to make advanced customizations.
Example
# Define the workflow with two nodes
- name: node_python_script
action: Python
input:
script: |
# Python code to write a simple message to a text file
with open('output.txt', 'w') as file:
file.write('Hello, this is a test message.')
kind: action
- name: node_http_request
action: HTTPRequest
input:
method: GET
url: https://example.com/api/data
authentication:
type: Basic
username: user
password: pass
kind: action
Updated 19 Apr 2024
Did this page help you?