Running code for a job
An AI employee can run code for a job: to calculate, clean, parse and analyze your data, then report back in plain language.
On this page
What it does
Some jobs need real computation: crunching numbers, cleaning and de-duplicating data, parsing files, running statistics, or turning raw data into a clear result. An AI employee can run code for a job, without you writing a line of it. The employee writes a short program, runs it, reads the result and reports back in plain language.
How it works
The code works only on the data the employee hands it. It can't reach the internet or your apps, so the employee first gathers what it needs with its apps or from a file, then passes that data to the code.
Common data tools are ready to use, for spreadsheets, tables, statistics, PDFs and more, so most analysis just works.
Turning it on
Running code is an optional ability. Tell the employee in its chat, for example: "Run calculations and analyze the data for this job." It adds the ability and shows a change note you can undo.
What it's great for
- Calculations and formulas that go beyond simple math.
- Cleaning, de-duplicating and reshaping lists and tables.
- Parsing CSV, JSON, XML or messy text.
- Summary statistics, grouping and totals, and spotting trends.
- Making a file from your data, such as a report, a chart or a spreadsheet.
Good to know
- The employee brings the data. If you want it to work on something from a website, a spreadsheet or a connected app, make sure the employee can get it first.
- Focused data works best. For a very large dataset, ask the employee to summarize or sample it first.
- It runs as part of a run. You see the work in the employee's Activity, and results land in Work.
Next steps
What went wrong? Pick any that apply.
That didn't send. Try again in a moment.