Step-by-Step Guide to Agentforce Grid

Introduction

Picture a sales operations analyst on a Friday afternoon. She has 200 accounts to review before Monday's planning call. So she exports them to a spreadsheet, pastes rows into an AI tool for summaries, adds a tier column, and loads everything back into Salesforce. That's four tools, three copies of the data and one nervous moment with the import wizard.

Agentforce Grid removes the round trip. It's a spreadsheet-like workspace inside Salesforce where each row is a record and each column is a step. One column fetches the data, the next summarizes it with AI, another applies a formula or researches the web, and the last one writes the result back to the record.

In this post, you'll learn what Agentforce Grid is, how it works, where it's useful and what to watch out for. The embedded step-by-step guide at the end then walks you through building a working grid, from permissions to templates.

Watch: Agentforce Grid explained in 90 seconds

Short on time? This whiteboard video walks you through the idea, from the spreadsheet shuffle to a working grid. The rest of this post covers the same ground in more detail.

agentforce-grid-explained.mp4

What is Agentforce Grid?

Salesforce describes Agentforce Grid as a spreadsheet-like tool for orchestrating and testing AI features, such as prompts and agents, within Salesforce. It's part of the Agentforce platform, and you open it from the App Launcher. Some developer tooling still calls it AI Workbench, which was its earlier name.

The layout will feel familiar. A grid works like a workbook, and it can hold several worksheets. What's different is the job that rows and columns do.

Columns run from left to right, and each one can use the columns before it. To reference another column, you type @ and pick it. That's how a Prompt Template column knows which account to summarize, and how a Record Update column knows which value to save.

Here's why that matters. You see the output of every step, for every record, before the next step runs. If the AI summary for row 12 looks wrong, you catch it in the grid and not in the Description field of a live record.

The columns you can add

Salesforce Help splits columns into two groups. Data columns bring records in. Action columns do something with them, and the AI columns belong to this second group.

How Agentforce Grid is useful

  • The export and import steps go away. The data stays in Salesforce from the first column to the last, so there's no CSV file to version, email or lose.

  • You test small, then scale. Build the workflow on a handful of rows, check the results, then run it on the rest.

  • You reuse what you've already built. Prompt templates from Prompt Builder, Agentforce agents and invocable actions all plug in as columns.

  • Your security model comes along. Grid enforces object-level and field-level security for the person running it. If a user can't see or edit a field in the org, they can't see or edit it in the grid either.

  • Good work gets shared. Publish a grid as a template and your colleagues start from your columns, prompts and logic. Templates carry the configuration only, not your rows or results.

Agentforce Grid use cases

Grid suits any job where you'd otherwise say, "Let me pull that into a spreadsheet." Here are six, based on the roles Salesforce highlights on Trailhead.

Not sure whether to reach for Grid, Flow or a report? Here's a quick rule of thumb. Use a report when you only need to read and summarize data. Use Flow when the automation should run on its own, on a trigger or a schedule. Use Agentforce Grid when a person wants to work through a list, see what AI produces for each record and decide what gets saved.

Keeping the grid and Salesforce in sync

This one catches almost everyone, so it gets its own section. The grid holds a copy of the values from the last time a column ran. Change a record in Salesforce and the grid won't notice.

To pull in the latest values, right-click the first column, the one that brings in your records, and select Update all cells in this column. Run Cell and Run Row sound like they'd do the same job. When I tested them, they re-ran the steps on the values already in the grid and didn't fetch the record again.

It works the same way in the other direction. Nothing reaches Salesforce until you add a Record Update column and run it.

What to watch out for

  • AI columns consume Flex Credits. Grid has a built-in Billing Calculator that estimates the credits per row for AI, Agent and Prompt Template columns. Check it before a large run, and verify the licensing details with your Salesforce account team.

  • A worksheet holds up to 1,000 rows. For bigger jobs, narrow the query or split the work across worksheets.

  • Record Update changes real records. Read the values in the grid first, and try the column on a few records before you run a big batch.

  • Prompt templates need their own access. To use a Prompt Template column, a user also needs the Prompt Template Manager or Prompt Template User permission set.

  • You can filter only on columns that are in the grid. If you want to filter by Rating, add Rating as a column first.

  • Cells can lag behind. If results don't appear, Salesforce suggests waiting about 30 seconds and refreshing the page.

  • Don't learn this in production. Use a Developer Edition or sandbox org until you're comfortable with what each column does.

For developers: the Agentforce Grid MCP

If you work in Claude Code, Cursor or VS Code, Agentforce Labs offers an Agentforce Grid MCP server. It lets your AI coding tool create and change grids from a plain-language request, or from a single YAML file that describes the whole grid. It signs in through your existing Salesforce CLI login, so there are no tokens to manage.

It sits under Agentforce Labs, so treat it as an experiment and check its support status before you depend on it. The link is in the references below. New to MCP in Salesforce? Start with the Step-by-Step Guide to Setting Up Standard MCP Server in Salesforce.

Step-by-step guide overview

The guide follows a sales operations team that wants to review its accounts in bulk, enrich them with AI and write the results back to Salesforce without exporting anything. You'll build that grid in nine stages, with a screenshot for every click.

You'll need a Developer Edition or sandbox org where Agentforce Grid is available. By the end, you'll have a grid that shows live account data next to Prompt Template, AI, Formula and Web Search columns, a second worksheet with an opportunity chart, and a template your colleagues can reuse.

New to prompt templates and agents? Our Mastering Agentforce course covers them from the ground up, and they're exactly what you'll plug into your grids.

References & Useful URLs