Add your own AI task to a Kotia workflow with the New step card
Set up a New step card for your own AI task: answers from source material, offer comparisons or drafted text. Pick a model, write the task, connect inputs.
On this page6
Add your own task to the workflow if the ready-made action isn't enough. Ask the "New step" card to prepare answers from a product description, compare offers, or write text from the material you have collected. It gets the data from the previous steps, carries out the task, and passes the answer on.
Choose a model and describe the rules it should follow. A configured step can be run with new source material without rewriting the whole task. If recipients need different parts of the answer, set a separate result for each of them.
Example: answers to customers based on a product description
Pass the product description through "Data" and add a "New step." Instead of a general request such as "write a good text," specify the exact result:
Prepare five answers to customer questions based on the product description you provided. Cover the purpose, dimensions, care, and usage restrictions. If information is missing, list the questions for the seller separately. Do not make up product features.
You will get the FAQ text and a list of details to clarify. You can save it to "Document", edit it, and use it on the product page.
How to set up your own task
- Open the workflow on your computer, click "Add a step", and select "New step." The settings panel will open.
- Select a model in the "Model" field. If nothing is selected, the default model is used.
- In the "Task" field, specify the action, the expected result, the reader, and any constraints. The task answers the question "what to do," and the input material answers the question "what to work with."
- Connect a source: "Data," a document, or the result of another step. If the task does not need external material, describe its subject directly in the task and connect the card to "Start."
- Connect the output to saving the result or to the next processing step. For the first run, it is convenient to choose a separate document.
- Run the workflow and read the result. If it does not match the task, refine the task and run the relevant part of the workflow again.
To rename a card, double-click its name. "Customer answers" is clearer than several cards with the same name, "New step."
What to include in the task
| Detail | Example for an FAQ |
|---|---|
| Result | Five questions and short answers |
| Reader | A customer who is choosing this product for the first time |
| Source of facts | Only the product description provided |
| Unknown information | A separate list of questions for the seller |
| Format | A question as a heading, with the answer underneath, without promotional promises |
While it runs, the step does not hold a conversation with you. So pass in ahead of time any details without which the result would be wrong. If you need to make a decision after the text is prepared, add "Ask me".
How to get different texts from one step
If several recipients are connected to the output, the "Where to send what" setting appears in the settings. In each recipient's row, specify which part of the answer that recipient needs.
For example, connect two documents and name their cards "FAQ" and "Post." For the first, enter "Questions and answers about the product"; for the second, enter "A short post about one product feature." In the general task, describe both tasks and the rules for using the facts.
If a row is empty, the recipient gets the full answer. To get different texts, fill in the rows for the recipients you need. Deleting a connection also deletes the instruction for that recipient; when you connect it again, set the instruction again. This setting is available in the "New step" card, but ready-made templates such as "Shorten" send the same result to all recipients.
Style, skill, and memory
In the panel, you can choose a style and skill: a style sets the writing manner, and a skill sets the approach to the task. Memory lets you connect information that will be used in later work. These settings complement the task but do not replace a description of the result you need.
For example, for an FAQ you can keep the store's calm tone, while for a post you can use a separate step with a different style. You don't have to combine all tasks into one card: choose a workflow whose result is easier to check.
Re-runs and cost
The cost of processing depends on the actual work done by the model and the tools used. Large source material, a long answer, and additional search all affect usage. Each re-run of a step and each pass through a loop is new work, and the result may differ.
A regular step does not keep the history of previous answers between runs. Pass the context you need through a document, an incoming connection, or connected memory. If there is neither a task nor input material, the card is not ready to run. If the model returned neither text nor results for the recipients, open the run log and check the cause of the error. With separate output, the general text may turn out to be empty, so check the answers in the connected recipients.