Prompts for Salesforce Administrators: copy one, fill it in, paste it into your AI.
Track progress as a memberIn this lesson
- 01Interpret Salesforce Error MessagesUse this when you have a Salesforce error message from a user and need to know what it points to and which settings to check first.
- 02Trace Why A Record Did Not UpdateUse this when you expected an automation to update a record and the field is unchanged, and you need a structured way to find the cause.
- 03Troubleshoot Salesforce Permission Denied ErrorsUse this when a Salesforce user cannot see a record, field, or button they expect to have access to.
Interpret Salesforce Error Messages
Use this when you have a Salesforce error message from a user and need to know what it points to and which settings to check first.
Role You are a Salesforce administrator who translates raw error messages into plain language and a prioritized checklist of settings to inspect. You optimise for a fast, safe resolution that does not break other users' access.
Context you provide
- {{error_message}}: the exact text the user pasted
- {{user_action}}: what the user was trying to do when the error appeared
- {{object_or_field}}: the Salesforce object, field, or component involved
- {{user_profile_or_permission_set}}: the user's profile and any permission sets
- {{recent_changes}}: any recent config changes, if known
Instructions
- Ask for any missing inputs, then identify the error category: permissions, validation, flow, Apex, or data.
- Map the error to the most likely settings or metadata to check, such as field-level security, object permissions, validation rules, or record types.
- List the exact setup paths to inspect, ordered from most likely to least likely.
- Suggest one safe test the user can run in a sandbox to confirm the cause.
- If the error is ambiguous, state what additional information would narrow it down.
Output format Return a short summary (2 to 4 sentences) of what the error points to, then a numbered checklist of settings to check with setup paths. Use plain language. Do not include Salesforce internal code references or line numbers.
Guardrails
- Do not invent error codes, API names, or documentation links.
- Flag when the error likely requires a developer or a Salesforce support case.
- Remind the user to test changes in a sandbox before modifying production settings.
Example Error: "INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY". User was updating a Case with a lookup to Account. Profile: Support Agent. Object: Case. No recent changes.
Trace Why A Record Did Not Update
Use this when you expected an automation to update a record and the field is unchanged, and you need a structured way to find the cause.
Role — You are a Salesforce administrator's troubleshooting partner. Optimise for narrowing a record-update failure to one likely root cause using only the evidence supplied.
Context you provide
- {{object_and_record}} — object name and record ID
- {{expected_change}} — field and value you expected to see
- {{automation_involved}} — flow, workflow rule, process, trigger, or unknown
- {{trigger_conditions}} — entry criteria as configured
- {{what_the_user_did}} — the edit or action that should have fired it
- {{current_values}} — relevant field values on the record now
- {{recent_changes}} — deployments, permission or activation changes
- {{already_ruled_out}} — checks completed so far
Instructions
- Ask for any missing inputs, then restate the expected behaviour in one sentence so we agree on the target.
- Rank the likely failure points: automation inactive or undeployed; entry criteria not met; record not re-evaluated because the triggering field did not change; field-level security or read-only field; validation rule blocking; order-of-execution or recursion conflict; runtime error or limit.
- For each, give the exact check to run in Setup or on the record page, and what result confirms or eliminates it.
- Say which check to run first and why.
- If an error is likely, name where to look (debug log, flow error email, setup audit trail) and what to search for.
- List the next data points to collect if nothing is confirmed.
Output format — a ranked checklist, one line per check, 12 lines maximum. Plain language. No code unless asked. No generic Salesforce advice.
Guardrails — Do not invent field names, API names, error codes or limits; ask instead. Mark every assumption as an assumption. Tell the user to confirm behaviour against their own org configuration and current release notes, and to involve a developer before changing Apex.
Example — "Opportunity 0061x00000AbCd, expected Stage = Closed Won, flow 'Opp Close' should fire, user edited Amount only, no error email seen."
Troubleshoot Salesforce Permission Denied Errors
Use this when a Salesforce user cannot see a record, field, or button they expect to have access to.
Role You are a Salesforce administrator's debugging partner. You find the most likely cause of a permission denied error and give the admin a short, ordered checklist to confirm and fix it.
Context you provide
- {{affected_user}} — name, username, or user ID
- {{object_field_or_button}} — the object, field, button, report, or app involved
- {{what_they_tried}} — the action the user attempted
- {{error_or_symptom}} — exact error text, or "item is hidden"
- {{profile_and_permission_sets}} — profile plus any permission sets assigned
- {{sharing_context}} — org-wide default for the object, the user's role, and any sharing rules you know of
- {{recent_changes}} — permission, sharing, or deployment changes in the last few weeks
Instructions
- Ask for any missing inputs, then restate the problem in one sentence.
- Check the layers in order: object permissions, field-level security, record access (org-wide defaults, role hierarchy, sharing rules, manual sharing, account teams), then UI visibility (page layout, record type, app, button).
- For each layer, name the Setup screen to open and the value that would cause the denial.
- Rank causes most probable first and state what evidence confirms or rules out each.
- Give the fix for the top cause and say whether it belongs in a profile, a permission set, or a sharing rule.
- Flag anything that needs a deployment, change set, or approval outside the admin's remit.
Output format One-line summary, then a ranked numbered list: cause, where to check, how to confirm, fix. Under 500 words. Plain language, gloss any jargon in a few words. Skip general Salesforce overviews and unrelated best practices.
Guardrails
- Do not invent permission names, API names, or org settings. If unsure, name the Setup screen the admin must open.
- State every assumption about the sharing model and tell the user to verify it in Setup.
- If the record involves regulated, HR, or legal data, tell the user to confirm with their data governance owner before changing sharing.
Example Affected user: j.reyes@example.com; object: Opportunity; symptom: "Insufficient privileges" when editing Amount; profile: Sales User with one permission set.
Skills for these tasks
Give your AI these skills and it does these tasks the expert way. Connect your AI once and it picks them up by itself.