Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Sf ai agentforce grid/Grid-recipes
Reference · Sf ai agentforce grid

Grid-recipes

Part of Sf ai agentforce grid. Install the skill and your agent reads this page when it needs the depth.

Grid Recipes

Recipe 1: Object -> Reference -> AI

This is the most reliable composition pattern for business worksheets.

  1. Import records with one Object column.
  2. Extract exact fields with Reference columns.
  3. Add AI or Agent columns that run EACH_ROW.
  4. Read back results from get_worksheet_data.

Use this when:

Recipe 2: Top Opportunities Outreach

Goal:

Recommended source:

Reason:

Example SOQL:

SELECT OpportunityId, ContactId, IsPrimary,
       Opportunity.Name, Opportunity.Amount, Opportunity.StageName,
       Opportunity.Account.Name,
       Contact.Name, Contact.Email
FROM OpportunityContactRole
WHERE IsPrimary = true
  AND Opportunity.Amount != NULL
ORDER BY Opportunity.Amount DESC NULLS LAST
LIMIT 10

Recommended follow-up reference columns:

Recommended AI outputs:

Recipe 3: Agent Test Suite

Good shape:

  1. Text column for utterances
  2. Optional text column for expected outputs
  3. AgentTest column
  4. One or more evaluation columns

Useful evaluation types:

Recipe 4: Prompt Template Pipeline

Good shape:

  1. Input source column
  2. Reference columns for prompt inputs
  3. Prompt template column
  4. Optional evaluation column

Use this when the org already has prompt templates the user wants to operationalize in Grid.

Recipe 5: Invocable Action / Flow Testing

Good shape:

  1. Source text/object columns
  2. Invocable action column
  3. Reference columns that extract outputs

Use metadata discovery first:

Prompt Design Tips For Grid AI Columns

Reading Results Correctly

In v66.0, worksheet payloads are rowless by default:

Use the bundled script when you want a row table:

node scripts/worksheet_to_rows.mjs <worksheet-id>

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.