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.
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.
| Part | What it holds |
|---|---|
| Goal and output | The purpose of the task and the result it returns |
| Inputs | Up to twelve fields, such as an account, a search or a maximum count |
| Required access | What must be in place first, such as a connection to your signed-in browser |
| Steps | Instructions, an expected observation and an outcome check for each step |
| Sources | Links 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:
- Collect email subjects
- List people from calendar events
- Run selected notebook cells
- Check a Mac app that will not open
Run a workflow
- Open Guides and choose a workflow marked Not verified.
- Read its steps. Open Procedure details and sources for the goal, the full output, the required access and the sources.
- Press Use in task. Under Task, keep New task, or press Change and choose a conversation. A conversation keeps its own agent and account.
- Fill in the inputs marked required, then press Open task.
- 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.
- 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
- 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
- 3Say what access it needs
What must be in place first, such as your signed-in browser.
- 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
- 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:
- Every step needs a title, at least one instruction, an expected result and a check.
- An input may not ask for a password, key, token or other credential, by name or by value.
- Source links must use HTTPS and include no sign-in details.
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.
- He opens Guides and chooses Collect email subjects. It has four steps, from Confirm the Gmail account to Return the bounded collection.
- He opens Procedure details and sources. The full output reads "A bounded list of subjects, dates and links to the original threads."
- 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.
- He presses Open task. The draft on Home now holds the four steps, his three inputs and the check under each step.
- 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.
- He opens History later. The run is marked Prepared, with the date and version 1.
Why it works like this
- Inputs are checked before anything is prepared. A maximum count must be between 1 and 500, and an address must use HTTPS on the sites the workflow names.
- A changed workflow is refused until you refresh it. If the workflow changed after you opened it, Mehtagent asks you to refresh it. The steps you read are then the steps your AI receives.
- Credentials stay out of saved steps. A pasted key in an input is refused, with a reminder to keep it in the private credential store.
Read next
- Guides: step-by-step coaching for a kind of work.
- Browser extension: the sites your AI may use in your browser.
- Research runs and decision traces: how a finished task looks step by step.
Mehtagent