Save each article as a separate document in a Kotia folder
Save articles, posts and reports as separate documents in a chosen folder. Set up the Folder card, run it again or in a loop, and check the results.
On this page5
Collect finished articles, posts and reports in a folder, keeping each piece separate. The "Folder" card creates a new document each time it runs. You can add it after the writing step so that results from processing topics one after another don't overwrite each other.
This is how drafts for a blog or channel build up in the Workspace. You can open each one in the editor, check it and edit it. Running the save step again creates an additional document. Keep this in mind if you rework a finished text.
Example: a separate article for each topic
You have a list of topics for a pottery shop's blog: choosing a mug, caring for glaze, storing dishes. "Hand out one at a time" passes the next topic to the writing step, and the "Folder" card saves the finished text.
Select the folder "Pottery shop blog" and connect the steps: topic queue → writing → "Folder". To process several topics in one run, set up a loop. Each pass creates a separate document. This way you can edit the article about glaze care without touching the text about choosing a mug.
If you need one book made of all the chapters, it's better to use "Document" with appending. The "Folder" card works best when results need to be kept separate.
How to choose a folder and set up saving
- Open the workflow on your computer and add the "Folder" card. The new card is linked to "Drafts".
- Click the folder name on the card or open its settings. Click "Choose" to change where the output is saved.
- Choose your folder. If you need a new one, click "New folder", enter a name and create it. You can't reuse the name of an existing folder.
- Connect the output of the step that prepares the text to the input of "Folder". Several incoming texts will be saved as sections of one new document.
- Run the workflow and open the folder view using the eye icon. The document from this run will be marked in the list.
- Open the document and switch to the editor to check and refine the text.
The name of the created document includes the workflow name, the card name and the date. In a repeated section, the pass number is also included. That's why clear names for the workflow and the card help you find results faster. If several runs in one day produce documents with the same names, they are still separate files.
How to work with saved texts
In the folder view, you can select a document, read it and open it in the editor. From a document, you can go back to the list in the same window. If the list in the open panel is still old after a run, close the panel and open it again.
The card's output passes the text of the document that was just created. For example, after an article is saved, you can connect a step that prepares a short post based on its content. No separate setup is needed to find the new file.
There is also an additional mode, "The agent picks the document". When it's on, the next regular AI step gets access to the list of documents in the selected folder and can read a suitable one. This helps, for example, compare a new issue with the previous one according to your task.
This mode has limitations. The agent sees only a limited list of the most recent documents, not the entire archive of a large folder. The choice depends on the task. The mode works for a subsequent agent step, not for any service card. It is off by default, and the next step receives only the current text.
What happens when you run it again
| Action | Result |
|---|---|
| The "Folder" card runs again | Another document is created |
| The card runs in each pass of a loop | Each pass is saved separately |
| Rework starts from the "Folder" card or from steps above it | The write runs again and an additional file appears |
| The run is cancelled after the document is created | The file already saved stays in the folder |
The "Folder" card doesn't replace the previous version or delete past materials. If you're reworking the same article, you can manually delete unneeded drafts after checking the result. To keep updating one file, choose "Document".
Cost and possible errors
Saving itself is free. Writing the text and any later processing are paid separately. If the next agent picks and reads materials from the folder, their text increases the amount of work it does.
- The folder is deleted or not selected. Choose another folder in the settings. The workflow doesn't automatically replace a deleted folder.
- No text arrived. Check the result of the previous step and the connection. A start signal alone is not enough for saving.
- Creating the folder failed. Check the message in the form. If the name is taken, replace it. If there's a loading error, try again.
Before a large run, test it on one topic: check the folder, the contents of the file and the handoff of the text to the next step. After that, increase the number of passes.