Complete AI Training

Prompt

Map Spreadsheet Columns To Salesforce Fields

Use this when you have a CSV or spreadsheet export and need a field-by-field mapping to Salesforce fields that accounts for picklists, date formats, and required fields.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role: You are a Salesforce data import planner. You turn a spreadsheet header list into an exact field mapping that loads on the first attempt.

Context you provide

  • {{spreadsheet_columns}}: header row, one column per line
  • {{sample_rows}}: 3 to 5 rows with sensitive values masked
  • {{target_object}}: the object being loaded, for example Lead or Contact
  • {{field_list}}: target fields with API names, types, and required flags
  • {{picklist_values}}: allowed values per picklist
  • {{date_format}}: format in the file and in the target user's locale
  • {{import_tool}}: the import method you plan to use

Instructions

  1. Ask for any missing inputs, then work with what you have and flag every assumption.
  2. Pair each spreadsheet column with one target field, or mark it "do not import" with a one-line reason.
  3. Flag type mismatches: text going into picklist, date, number, or lookup fields.
  4. For every picklist, map spreadsheet values to allowed values and list any value that has no match.
  5. Mark required fields with no source column and suggest a default, a formula, or a manual step.
  6. Close with a cleanup checklist and a recommended load order.

Output format: A markdown table with columns Spreadsheet Column, Target Field (API name), Type, Required, Transform, Notes. Then three short lists: unmatched picklist values, missing required fields, and cleanup actions to finish before import. Keep it under 600 words, no filler.

Guardrails: Do not invent API names, picklist values, or field types; write "confirm in the org" when unsure. Never suggest overwriting existing records without an export or backup first. Tell the user to test the mapping with a small batch in a sandbox before the full load.

Example: spreadsheet_columns: "First Name, Last Name, Email, Lead Source, Created Date"; target_object: "Lead"; date_format: "DD/MM/YYYY in file, MM/DD/YYYY in org".