Naidan
Guides

Connect AI requests and run the same task again

Turn a repeated pair of requests—summarize these notes, then write a team update—into a workflow you can use again. This example asks for new notes each time and passes each result to the next step.

Open /#/workflows to start in Workflows. The diagrams below use a small meeting-notes example you create yourself.

The first step asks you for text. Two generation steps process it in order; the second receives the summary, rather than the original notes.

1. Create three steps and pass their results forward

Give the workflow a name. In Steps, use Add step to add Request input, then two Generate text steps in that order. Select each step to edit it.

  1. Name the first step Meeting notes. Choose Fixed text for its prompt, enter the prompt below, and leave Format as Fixed text with fixed choices off. It asks for text when you run the workflow.

    Paste the meeting notes for this week.
  2. Name the next step Three-point summary. Under Append messages before generation, keep one user message. Put the instruction below in its first text part. Select Add text for a second part, change Choose a value to Step output, then choose Meeting notes · value in Source.

    Summarize the following meeting notes in exactly three bullet points. Preserve dates, owners and unresolved questions. Do not add facts.
  3. Name the last step Team update. Use the same two-part user message: the instruction below, then Step output with Three-point summary · text as its source. Leave the base conversation empty and generation tools unused for both steps.

    Turn the following three-point summary into a short team update. Include progress, the next action and anything awaiting a decision. Do not add facts.
The source selector connects the summary’s text output to the last step. Adding steps alone does not pass their results forward.
Optional: start from the example JSON

Instead of entering the three steps by hand, copy this example into JSON and select Apply. Return to Steps and review both model connections before running. This replaces the current definition; start with an empty workflow.

{
  "name": "Meeting notes → team update",
  "steps": [
    {
      "id": "meeting-notes",
      "name": "Meeting notes",
      "type": "request_input",
      "prompt": {
        "type": "literal",
        "value": "Paste the meeting notes for this week."
      },
      "responseType": "text"
    },
    {
      "id": "three-points",
      "name": "Three-point summary",
      "type": "text_generation",
      "target": {
        "type": "model",
        "endpoint": {
          "type": "ollama",
          "url": "http://localhost:11434"
        },
        "modelId": "qwen3:8b"
      },
      "conversation": {
        "type": "conversation",
        "messages": []
      },
      "appendMessages": [
        {
          "role": "user",
          "parts": [
            {
              "type": "text",
              "text": "Summarize the following meeting notes in exactly three bullet points. Preserve dates, owners and unresolved questions. Do not add facts.\n\n"
            },
            {
              "type": "value",
              "value": {
                "type": "step_output",
                "stepId": "meeting-notes",
                "output": "value"
              }
            }
          ]
        }
      ],
      "toolConfigs": []
    },
    {
      "id": "team-update",
      "name": "Team update",
      "type": "text_generation",
      "target": {
        "type": "model",
        "endpoint": {
          "type": "ollama",
          "url": "http://localhost:11434"
        },
        "modelId": "qwen3:8b"
      },
      "conversation": {
        "type": "conversation",
        "messages": []
      },
      "appendMessages": [
        {
          "role": "user",
          "parts": [
            {
              "type": "text",
              "text": "Turn the following three-point summary into a short team update. Include progress, the next action and anything awaiting a decision. Do not add facts.\n\n"
            },
            {
              "type": "value",
              "value": {
                "type": "step_output",
                "stepId": "three-points",
                "output": "text"
              }
            }
          ]
        }
      ],
      "toolConfigs": []
    }
  ]
}

2. Choose a model for both generation steps

This example uses Ollama running on this computer at http://localhost:11434, with qwen3:8b already available. Follow the Ollama connection guide first if needed. In each generation step, set Model connection → Endpoint to Ollama, check the URL, and select an available model or enter its Model ID. Replace the example ID with one installed on your server.

Repeat this check for both steps. Use current connection settings copies your current connection into that step; later changes to global settings do not silently replace the copy. A browser model or an external API can also be used. The endpoint chosen in each step determines where its input is processed; this example sends it to the local Ollama server.

Check the endpoint, URL and model ID in each generation step.

3. Run, enter the notes and continue

Select Run sequentially. In Execution results, the workflow pauses at Meeting notes. Paste the notes below and select Continue. If a model-connection review appears, inspect the displayed endpoint and model and select Allow only when they match your intended connection.

The draft help page is finished. Mei will review it on Friday. Publication is planned for Monday, but the release time is still undecided.

Naidan may ask for connection approval when a connection has not been reviewed, including after loading a definition. The two generation steps then run in order. Keep the page open: reloading ends the run and does not resume it automatically.

The input step waits for your notes. Continue starts the next step; an unreviewed model connection can ask for approval.

4. Check the summary and the finished update

In Execution results, check each step’s Output. Read the three-point summary before using the team update: a mistake in the summary can carry into the final text. The example output below illustrates the flow; wording and quality depend on your model.

Each step has its own output preview, so you can compare the input, intermediate summary and final update.

Open Latest run or Run history in the sidebar to revisit a run. With browser OPFS storage and Web Locks available, Naidan saves the definition used for that run and bounded input/output previews. A preview can be incomplete. After the run finishes, use Download ZIP in Execution results to keep the full result files you need.

5. Save the steps and use different notes next time

Select Save to keep the workflow in the sidebar. Open it next time and select Run sequentially again. The first step asks for new notes; paste the second example below and continue. You do not need to rewrite either generation instruction.

Mei completed the review. Arun will fix the two remaining examples by Tuesday. The team will decide the release time at the next meeting.
A saved workflow keeps its two instructions. Each run asks for new input.

Saving workflows and run history requires OPFS storage and a browser with Web Locks. If Save is unavailable, you can still edit and export the definition. Saving the workflow keeps the steps and their settings; it is separate from keeping generated result files. History contains the inputs and previews from its runs.