---
isPublished: true
knowledgeIndex: false
hidden: true
noindex: true
template: "page.peb"
title: "AI Skills Action Flow Reference"
description: "Inputs, outputs, transaction effects and troubleshooting for AI Skills Action in Salesforce Flow."
contentType: "reference"
audience: "admin,developer"
---

# AI Skills Action

Refresh the available AI Skill types in Salesforce.
The namespaced Apex action name is `rooms__AISkillsAction`.

**Reference status: Limited.** Review the supported behavior and limitations below.

## Transaction summary

| Effect | Behavior |
| --- | --- |
| API callout | Yes. The action waits for an API response. |
| Record writes | After the callout, the action inserts or updates AI Skill records in the calling Flow transaction. |
| Background work | No queued work is started. |
| Platform event | The action does not directly publish a platform event. |
| Email | The action does not send email. |

The Sync Local AI Skills input is exposed, but setting it to `false` does not prevent the skill-record update. Use this action when the local skill refresh is intended.

## Inputs

Required describes the Flow input setting. Additional conditions are stated in the guidance.

| API name | Flow label | Required | Default or guidance |
| --- | --- | --- | --- |
| `syncLocalSkills` | Sync Local AI Skills (default=True) | No | Declared default: `true`. The skill-record refresh is performed regardless of this setting. |

## Outputs

| API name | Flow label | Meaning |
| --- | --- | --- |
| `success` | Success | Whether the action reported success. Check this value before continuing. |
| `message` | Message | Result details or an error. Read this value with Success. |

## Configure the Flow

1. Confirm that the Flow is permitted to refresh AI Skill records.
2. Run the action before any later callout that requires a clean transaction.
3. Check Success and Message, then inspect the expected skill records.

Confirm the Flow user's action access and the required access to the referenced records.
Review the configured Salesforce API connection user's access when the action makes a callout.
Connect the action's Fault path.

## Troubleshooting

**You have uncommitted work pending.** Check earlier record writes, queued work and other actions in the same transaction.
Review the [transaction settings and debugger limits](/content/build/flows/index.md#resolve-uncommitted-work-pending).

**A later callout reports uncommitted work.** This action writes AI Skill records after its own callout. Review the later transaction boundary.

**Sync Local AI Skills is false but records change.** The refresh still writes local skill records. Do not use this input as a read-only control.

Confirm that the action and its fields exist in the installed package.
See the [Flow action index](/content/build/flows/index.md) for related actions and transaction guidance.
