
AgentforceAdvanced
Safe Retries for Agentforce Actions: Make Every Action Idempotent
Agents retry, users repeat themselves and tools time out. Build idempotent Agentforce actions with deterministic keys, a ledger and tests so a refund happens once.
Tag
3 guides tagged Retries.

Agents retry, users repeat themselves and tools time out. Build idempotent Agentforce actions with deterministic keys, a ledger and tests so a refund happens once.

Sync batches where some records fail: per-record status, external IDs, SaveResult mapping, backoff, dead-lettering and retry-only-failures in Apex and Node.

Handle the timeout where the other side actually succeeded: idempotency keys, external IDs, a request ledger, retry classification and tests in Apex and Node.