{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Agentforce"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"agentforce","__idx":0},"children":["Agentforce"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Onboarded™ provides Invocable Apex Actions for Agentforce agents. Most of them can also be called from Flow and Apex. Get Onboarded™ Task Unlock Sections is intended for Agentforce agents only. Some actions are gated: the mapping lookup actions check for an Onboarded™ permission set, and Get Onboarded™ Task Unlock Sections requires the Onboarded™ Agentforce Access permission set. See the Access needed column below. To add one to an agent, open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent Builder"]},", choose the agent's ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Topic"]},", add an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Action"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Apex"]},", and search for the action's name."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Action"},"children":["Action"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it does"},"children":["What it does"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Read-only?"},"children":["Read-only?"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Access needed"},"children":["Access needed"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get Onboarded™ Object Mappings"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tells the agent which Salesforce object is mapped to each Onboarded™ object type (Employee, Employer, Client, Job, Placement, Task, Form). Use it first when the agent has no context."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Onboarded™ Admin, HR Representative, Integration, or Agentforce Access"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get Onboarded™ Field Mappings for Object"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Returns the field-level mappings for one object relationship, so the agent knows what a sync will read or write."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Same as above"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Onboarded™ Data Sync"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Syncs an existing, mapped Salesforce record to Onboarded™ (Create, Update, or Delete) using your field mappings. For Delete, pass the Onboarded™ ID."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Runs as the calling user"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Invoke Onboarded™ API"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Sends a custom payload to the Onboarded™ API for data that doesn't match a single mapped record."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Runs as the calling user"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get Onboarded™ Task Unlock Sections"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Intended for Agentforce agents only. Lists the form sections of a completed task that can be unlocked so the employee can revise them. It reports eligibility only; it does not perform the unlock."]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Yes"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Onboarded™ Agentforce Access"]},", and the user cannot be on the Salesforce Integration User license"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"suggested-order-for-an-agent","__idx":1},"children":["Suggested order for an agent"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Call ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get Onboarded™ Object Mappings"]}," to see what's configured, then ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get Onboarded™ Field Mappings for Object"]}," for the object it cares about, then ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Onboarded™ Data Sync"]}," (for a mapped record) or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Invoke Onboarded™ API"]}," (for anything else)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"good-to-know","__idx":2},"children":["Good to know"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A success result from the sync actions means the request was accepted and queued or sent, not that Onboarded™ has applied it yet. Agents should say \"submitted for sync.\""]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access is checked per action, not for Agentforce as a whole. Data Sync and Invoke Onboarded™ API are not gated by an Agentforce check; the mapping lookup actions and Get Task Unlock Sections are (see the table above)."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Assign ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Onboarded™ Agentforce Access"]}," to the user the agent runs as. See the Permission Sets page."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Full parameter tables and examples are on the Flow and Agentforce Integration page."]}]}]},"headings":[{"value":"Agentforce","id":"agentforce","depth":1},{"value":"Suggested order for an agent","id":"suggested-order-for-an-agent","depth":2},{"value":"Good to know","id":"good-to-know","depth":2}],"frontmatter":{"seo":{"title":"Agentforce"}},"lastModified":"2026-11-16T16:20:15.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/onboarded_for_salesforce/agentforce","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}