Mehtagent Docs

Workflows

Repeat a task from saved, numbered steps, with your inputs filled in, and review the result before your AI starts.

A workflow is a saved set of numbered steps for one task you do again and again, such as collecting email subjects from a search. You fill in a few inputs, Mehtagent writes the steps into a draft for your AI, and you read the draft before anything runs. Use one when you want the same task done the same careful way each time.

The ready-made Collect email subjects workflow in Guides, with its first step open.

What a workflow holds

Each step has its instructions, the result to expect and a check of the outcome. A workflow lists the inputs the task needs, the access it requires and up to ten steps.

PartWhat it holds
Goal and outputThe purpose of the task and the result it returns
InputsUp to twelve fields, such as an account, a search or a maximum count
Required accessWhat must be in place first, such as a connection to your signed-in browser
StepsInstructions, an expected observation and an outcome check for each step
SourcesLinks behind the steps; an unverified link is marked Not checked

Workflows sit in Guides beside the general guides, and each one is marked Not verified. A general guide coaches you through a kind of work while you type, and Guides covers those.

Both editions include four ready-made workflows:

Run a workflow

  1. Open Guides and choose a workflow marked Not verified.
  2. Read its steps. Open Procedure details and sources for the goal, the full output, the required access and the sources.
  3. Press Use in task. Under Task, keep New task, or press Change and choose a conversation. A conversation keeps its own agent and account.
  4. Fill in the inputs marked required, then press Open task.
  5. Mehtagent adds the numbered steps, your inputs and each step's check to the task's draft. Review the draft and send it yourself when it is right.

Approval and run history

A workflow runs only after you send its draft. Mehtagent prepares the text and records a prepared run, and the work begins when you press send. The prepared text tells your AI to recheck the account and access before each action. It also tells your AI to treat your inputs, and any page or message it reads, as data and never as instructions.

History lists each run with its date and version. A prepared run is marked Prepared and has no recorded outcome. Mehtagent records that a run was prepared, and it does not judge whether the task then succeeded. For that reason we keep the Not verified mark on every workflow.

Save your own workflow

The diagram shows the parts of a workflow in the order the table above lists them. Each box quotes the ready-made Collect email subjects workflow.

Building a workflow in five steps

Enterprise feature, the edition for teams. A workflow is a saved set of steps for a task you repeat, such as collecting email subjects.

Purpleis the steps box, the text your AI receives as instructions.

  1. 1Name the goal and the outputExample only

    Say what the task is for and what it returns.

    A bounded list of subjects, dates and links to the original threads

  2. 2List the inputs

    Up to twelve fields, such as an account, a search or a maximum count. An input may not ask for a password or key.

    Gmail account · Email search · Maximum threads

  3. 3Say what access it needs

    What must be in place first, such as your signed-in browser.

  4. 4Write the steps

    Up to ten. Each has instructions, the result to expect and a check, such as recording which account was used.

    Confirm the Gmail account

  5. 5Save it

    Each save makes a new version. A task started from version 2 keeps the text of version 2.

Saving your own workflows needs Enterprise, as building your own guides does. Mehtagent checks each workflow before it keeps it:

Each save makes a new version and keeps the earlier one, so a task started from version 2 keeps the text of version 2.

Example: email subjects for a repair log

Omar keeps the repair log for the Riverside Tenants Association, and every name in this example is invented. He needs the subjects of recent emails about boiler repairs, with links back to each thread.

  1. He opens Guides and chooses Collect email subjects. It has four steps, from Confirm the Gmail account to Return the bounded collection.
  2. He opens Procedure details and sources. The full output reads "A bounded list of subjects, dates and links to the original threads."
  3. He presses Use in task and keeps New task. He fills in the account signed in to his browser, the search "boiler repair" and a maximum of 20 threads.
  4. He presses Open task. The draft on Home now holds the four steps, his three inputs and the check under each step.
  5. He reads the draft and presses Send. His AI starts by confirming the Gmail account, and stops to explain if the account does not match.
  6. He opens History later. The run is marked Prepared, with the date and version 1.

Why it works like this