Learn › GPT-6 Astra in Practice › Computer Use Workflows: Real Automation Recipes

Computer Use Workflows: Real Automation Recipes

Intermediate 🕐 16 min Lesson 5 of 15
What you'll learn
  • Write effective computer-use prompts with clear scope
  • Execute each of five workflow patterns
  • Handle partial failures and resume gracefully

Writing a Computer-Use Prompt That Works

Computer use fails predictably when a prompt is vague. The model starts a task, runs into an ambiguous state — a form with more fields than expected, a login screen you didn't anticipate, a confirmation dialog requiring a decision — and either guesses wrong or pauses and asks. Both outcomes cost you time.

Three elements separate a working computer-use prompt from one that fails partway through:

Start state. Describe what is currently on screen or open. Not just "go to Salesforce" — specify whether you are already logged in, which view is active, and what data is already in context. The model's first action is drawn from this description; if the start state is wrong, the sequence derails from step one.

Success criteria. State explicitly what done looks like. "Update the deal stage" is a goal. "Update the deal stage to Closed Won and save the record — success is when the Stage field shows Closed Won and the page has returned to the record view" is a success criterion. The model needs a way to verify completion from what it can see; without that, it may stop early or continue past the finish line.

Scope limits. Tell the model what not to touch. Computer use operates with keyboard and mouse access to everything on screen. If you're updating one record and three others match the same search, the model needs to know to stop after the first. If you want it to stay within a specific domain, say so explicitly.

A comparison of a weak prompt versus a strong prompt across these three elements:

Weak prompt Strong prompt
Go to my CRM and update the deal for Acme.
Salesforce is open on the Opportunities list view. Find the Acme Corp deal (currently in Negotiation stage). Change the Stage to Closed Won and set the Close Date to today. Save the record. Stop after saving — do not navigate to any other record or view. Success is when the Acme Corp record shows Stage: Closed Won.
Fill out the contractor onboarding form.
Chrome is open at https://hr.example.com/onboarding/new. Fill in the form using the data I've pasted below. Skip any fields not covered by the data. Do not submit — save as draft when all available fields are filled. Do not navigate away from this page.

The strong prompts are longer, but the length is doing work. Each sentence eliminates a decision the model would otherwise have to guess at.

Workflow 1: Multi-Page Form Filling

Multi-page form filling is the task category where computer use delivers the most consistent value. Forms are deterministic: each field has an expected value, required fields are usually labeled, and submission produces a clear confirmation state the model can read.

Scenario. You have a vendor onboarding portal with seven pages of fields. The data is in a spreadsheet. Filling it manually takes 45 minutes of purely mechanical work.

Prompt template.

The vendor portal is open at https://portal.example.com/onboard. I am logged in as admin@example.com. Fill in the onboarding form using the data below. Page through each section using the Next button. If a required field is not covered by the data I've provided, leave it blank and note it in your report rather than guessing. Do not submit the final form — stop on the Review page and list what you filled in and what you left blank. Do not navigate outside the portal domain. [paste spreadsheet data here]

What to watch for. File upload fields require a local file the model can access — these are the most common failure point on multi-page forms. Conditional fields that appear or disappear based on earlier choices can cause the model to miss required inputs. Date pickers with non-standard formats (MM/DD/YYYY vs YYYY-MM-DD) are a common source of validation errors that look like successful saves.

Recovery instruction to add for file uploads. "If you encounter a page that requires a file upload, skip that section, note it in your report, and continue to the next section."

Workflow 2: CRM Record Updates

CRM updates illustrate what computer use can do without any integration setup. A CRM like Salesforce or HubSpot works with every field the browser can see — including custom fields that no official API exposes. Astra can update records the API cannot reach.

Scenario. Twenty accounts closed last week. You need to set a renewal date, update the deal stage, and log a note on each record. Doing it manually takes 90 minutes. With computer use, it runs unattended in roughly 40 minutes while you focus on other work.

Prompt template.

Salesforce is open. I am logged in. For each account in the list below, do the following in order: (1) Search for the account by name. (2) Open the account record. (3) Find the most recent closed-won opportunity. (4) Set the Renewal Date to 12 months from the Close Date. (5) Add a note: "Renewal date set — processed automatically". (6) Save and return to the Salesforce home screen before moving to the next account. Process one account at a time. If you cannot find an account, skip it and add it to your report with the search term you tried. Stop after all accounts are processed and produce a summary of what was updated and what was skipped. Accounts: [list here]

Scoping to avoid touching wrong records. The most critical scope constraint for CRM work is "one record at a time, return to home screen after each save." Without this instruction, the model may navigate to a related record while exploring and attempt updates there. Returning to a known starting state before each new account keeps the sequence predictable and auditable.

If your CRM search returns multiple matching records, add: "If a search returns more than one result, stop and add that account to your report as ambiguous — do not select any result."

Workflow 3: Calendar Management

Calendar management is well-suited to computer use because the success criteria are concrete and the visual state is always readable: either the event exists with the right attendees and time, or it does not.

Scenario. You need to schedule a recurring weekly sync with five people across three time zones, check for conflicts on your own calendar, and send invites. The manual version involves timezone math and five separate invite compositions.

Prompt template.

Google Calendar is open. I am logged in as me@example.com. Schedule a recurring weekly meeting: Title: "Team Sync", Attendees: [list emails], Duration: 30 minutes, Recurrence: weekly on Tuesdays, Starting: next Tuesday. Choose a time between 9am and 12pm Pacific that shows as available on my calendar. If any attendee appears to have a conflict at the chosen time, note it in your report but proceed. Send invites. Stop after the event is confirmed as created and invites are sent.

Conflict resolution. Astra can read calendar availability from what it sees on screen — it cannot read attendees' full calendars unless those calendars are shared and visible to your account. The prompt above asks it to check your own calendar and note visible conflicts for attendees without blocking on them. This is the right design: let the model handle the mechanical scheduling, and let attendees decline or propose alternates through the normal invite workflow.

Handling calendar auth walls. Calendar tools require you to be already authenticated before computer use starts. The model cannot log in on your behalf — it has no access to your stored credentials. Before invoking computer use for any calendar task, open the app and verify you are signed in. If the task involves a shared calendar that requires a separate permission grant, complete that grant manually first.

Workflows 4 & 5: Web Research and Frontend QA

These two workflows use the browser as the primary interface, where Astra's visual grounding performs most reliably. Both produce structured output — a research summary or a defect list — rather than mutating a system. The model reads and reports rather than writing and saving, which lowers the risk of an unexpected side effect.

Web research prompt pattern.

Open a new Chrome window. Research [topic] by visiting these sites in order: [list URLs]. For each site: (1) read the pricing or features page, (2) note the data points listed below, (3) note any data point you cannot find. After all sites, produce a plain-text comparison covering [specific columns]. Do not create accounts, submit any forms, or follow links that leave the target domain. Save the summary to [Google Doc URL or file path]. Data points to capture: [list here]

The "sites in order" structure prevents the model from following links in unpredictable ways. The "do not create accounts" instruction prevents it from stalling at sign-up walls. Specifying where to save the output — a Google Doc, a local file — means the research is captured even if the session ends unexpectedly.

Frontend QA prompt pattern.

Chrome is open. I am logged in at https://staging.example.com as test@example.com / [password]. Check these pages for visual defects, broken elements, and missing copy: [list page URLs]. For each page, check: (1) do all images load? (2) are there any visible overflow or clipping issues? (3) does every CTA button appear clickable and correctly labeled? (4) does the page title match the navigation label? Log each issue as: Page URL | Element | Defect description | Severity (low / medium / high). Do not click submit or delete buttons. Do not fill any forms.

QA prompts work best when the checklist is explicit. "Check for defects" is too broad. A specific list of what to check — images, overflow, CTA labels, title matching — gives the model a consistent review process and produces comparable reports across sessions. The "do not click submit or delete" instruction is critical for staging environments where a click could mutate data.

Handling Partial Failures

A partial failure is what happens when Astra completes some steps of a multi-step task and then stops before finishing. The task ran, made changes, and left things in an intermediate state — not where they started, not where you wanted them to end up.

Partial failures are normal at a 72.6% task completion rate. Expecting them and designing for recovery is more useful than trying to eliminate them.

What a partial failure looks like. Astra pauses and shows a message describing where it stopped: "I updated 14 of 20 accounts. I could not find account 'Brightline Solutions' in the CRM search — the search returned no results. Here are the 6 accounts I did not update." That message is your checkpoint. It names the last completed state and the reason it stopped.

The checkpoint-resume pattern. Design prompts so that each sub-task ends in a verifiable state — a saved record, a confirmation page, a note added — before the next one begins. When the task stops partway, you know exactly which items were completed and which were not. Resume by giving Astra the remaining list explicitly:

The previous session updated accounts 1–14 successfully. Resume from account 15. Here are the remaining 6 accounts: [list]. Use the same process as before: search by name, open the record, set the renewal date, add the note, save, return to the home screen. If you cannot find an account, skip it and report it.

When to resume vs restart. Resume when the completed items are in the correct state and you only need to finish the remaining ones. Restart when partial progress introduced errors — for example, a form was submitted with incorrect data, or records were updated with wrong values. Before resuming, scan Astra's activity log to confirm the completed items are actually correct. The activity log lists each action taken; compare the last few entries against your expected outcome before continuing.

Telling Astra where it left off. When resuming, state the completed count, the last successful item, and the starting point explicitly. The model does not remember the previous session — each new computer-use task starts fresh. The checkpoint lives in your message, not in its memory.

Recovery instruction to add to every multi-item prompt. Add this line to any prompt that processes multiple records: "After each item, write a one-line status in your activity log: item name — done / skipped / error. At the end, summarize how many were completed, how many were skipped, and the reason for each skip or error." This gives you a structured checkpoint you can use to resume from any stopping point.

Key takeaways
  • The best computer-use prompts state start state, success criteria, and scope limits explicitly
  • Partial failures are normal — design prompts to resume from a known checkpoint
  • Five high-value workflow patterns: forms, CRM, calendar, research, and QA