---
title: The Code Editor
slug: the-code-editor
docTags: 
createdAt: 2024-04-09T20:32:36.974Z
---

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.&#x20;

It caters to users who are comfortable with direct code manipulation or who need to make advanced customizations.

![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/G8VC7as3KeeQhpBzJU3OG_image.png)

![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/U1s1G59YFIo9qyzW884-m_image.png)

**Example**

:::BlockQuote
\# Define the workflow with two nodes

\- name: node\_python\_script
&#x20; action: Python
&#x20; input:
&#x20;   script: |
&#x20;     \# Python code to write a simple message to a text file
&#x20;     with open('output.txt', 'w') as file:
&#x20;         file.write('Hello, this is a test message.')
&#x20; kind: action

\- name: node\_http\_request
&#x20; action: HTTPRequest
&#x20; input:
&#x20;   method: GET
&#x20;   url: https\://example.com/api/data
&#x20;   authentication:
&#x20;     type: Basic
&#x20;     username: user
&#x20;     password: pass
&#x20; kind: action

:::

