Skip to content

Collect results from several branches before writing or analysis

Combine search, parsing and other branch results before writing or analysis. Learn how to wait for materials and pass them to the next AI step.

Updated

Pass all the materials you need to the article writer together: your brief, the source texts and the facts you found. The "Collect results" card waits for the connected branches to finish and passes their data to the next step. This way, the AI can write or check a text using several sources.

You can use the same approach to gather parts of an article for joint editing or materials for comparison. Collecting is free and does not rewrite any of the materials. The next step handles the task of analyzing or writing a complete text.

Suppose you run a blog about online retail. News search finds articles, a selection step picks the event, and page parsing extracts the details from the selected sources. For writing, both the original link list and the full text of the pages are useful.

After the selection, split the material into two branches:

  • Link list → "Collect results". Passes on the titles and links from the list, plus a note on which event was selected.
  • Link list → "Page parsing" → "Collect results". Adds the extracted texts with the event details.

Next, connect the writing step. It will receive the materials from both branches once they finish. You do not need to merge the link list with the extracted texts manually.

Example writing task:

Prepare a news item for owners of small online stores based on the materials provided. Explain what changed, who it affects, and from what date it applies. Use the source texts for details and keep the links. If the sources disagree, name the discrepancy. Do not add missing dates, figures or conditions.

You can save the finished text as a separate document in the "Folder" or send it to WordPress as a draft. Before publishing, check that the key facts actually came from the sources and that the links relate to the event described.

How to connect several branches

  1. Open the workflow on your computer and add "Collect results" from the technical cards.
  2. Connect the outputs of the steps whose materials you need together to its input. In the example, these are the result of the event selection and the result of parsing.
  3. Connect the output of the collection to an analysis or writing step. The collection itself has no fields or separate task.
  4. In the next step, explain what to do with all the materials you receive: compare them, write a single text, check for contradictions, or edit parts of the article.
  5. Connect saving of the result and run a test.
  6. Check the results of the source branches and the output of the next step. Make sure it uses the right parts and keeps the links.

The card accepts text, lists and materials. If only one source is connected, it simply passes it on. In this case, a separate collection step is usually not needed.

"Collect results" has no saved document of its own. Check the original responses in the steps that produced them, and the processed result in the next step or in the save location you chose. The collection itself does not create an extra copy of the final article.

How to get a complete text from several responses

The collection passes materials together but does not edit them. It does not remove repeated points, check conclusions, or turn individual responses into a finished article. Assign these tasks to the next step.

For example, two branches prepared recommendations on packing and on handing the order over to the carrier. After collection, you can ask the writer to create an instruction for a warehouse employee:

Write a single instruction for preparing an order for shipping. Arrange the actions in working order: check the product, pack, label, hand over to the carrier. Merge repeated recommendations. If the materials contain different requirements for the same action, state this separately instead of choosing one arbitrarily.

This way, parts of the material can come from different sources or be processed by different steps, and the overall structure and style can be set during the final processing. If you just need to save the source materials together, connect the "Document" card and choose a suitable write mode.

When to choose "Sync point"

Kotia has one more card for waiting on branches: "Sync point". It is easy to confuse with collecting results, but it solves a different problem. The next stage must start after the previous ones, and it does not need their texts.

What you need Which card to use
Write an article from the materials of several branches "Collect results": passes the materials on.
Compare responses or keep them together "Collect results": the next step receives the content of the sources.
Wait for several branches to finish, then run a separate predefined action "Sync point": passes only the continue signal.

After "Sync point", the next step runs with its own settings. For example, after two documents are prepared, you can start a separate article collection from a site whose address is already set in the card. The texts of those documents will not be passed to it.

If the next step needs to write a conclusion based on two documents, choose "Collect results". Simply waiting does not pass it the materials for that conclusion.

What happens if one branch fails

The collection can continue with what it received, even if another branch did not complete. It waits for the branches to finish, but does not require a successful result from each one. This lets you keep the useful part of the work, but the final result may be incomplete.

In the news example, parsing may fail while the original link list reaches the collection. Writing may still start in that case, although it will not have the full source texts. So a successful run of the writing step alone does not prove that all the planned sources were used.

Check the run log, and find the failed branch and its cause. If its data is needed, fix the error and repeat the necessary processing before publishing. The workflow as a whole will still show an error if at least one step failed, even when another branch and the subsequent writing completed.

If nothing reaches the collection, it will not run, and the run will stop with the reason stated. The "Sync point" can also continue after an error in one branch. It does not check that all the previous steps completed successfully.

Cost, repeats and saving results

Both cards are free. Search, parsing, AI processing and other services are charged according to their own rules. Collection does not cancel the costs of the branches that ran, even if their materials were not used further.

When you run again, check which steps will run again. Paid services may spend tokens again, and saving to "Folder" may create new documents. To repeat only the part you need, use "Run from here", taking into account the saving conditions for the results of the previous steps.

In a repeating section, you can use "Collect results" to pass on materials from branches. Which passes move on depends on the setting of the section itself. "Sync point" is not suitable as its output: it does not pass data on to the next pass.