@sf-explorer/salesforce-agentforce-actions-reference
v1.0.0
Published
Salesforce Agentforce standard actions reference from official documentation
Maintainers
Readme
@sf-explorer/salesforce-agentforce-actions-reference
Salesforce Agentforce standard actions reference from official documentation.
📦 Installation
npm install @sf-explorer/salesforce-agentforce-actions-reference🚀 Usage
Basic Usage
import { getAction, getAllActionNames, searchActions } from '@sf-explorer/salesforce-agentforce-actions-reference';
// Get a specific action
const action = await getAction('CreateRecord');
// Get all action names
const allNames = await getAllActionNames();
// Search for actions
const results = await searchActions(/create/i);Available Functions
loadIndex()- Load master indexgetAction(name)- Get full action detailssearchActions(pattern)- Search by namegetAllActionNames()- Get all action namesloadAllDescriptions()- Get all descriptions (lightweight)getActionDescription(name)- Get single description (lightweight)searchActionsByDescription(pattern)- Search by descriptionloadAllActions()- Load all actions (heavy)clearCache()- Clear cached data
Backward Compatibility
For consistency with other packages, these aliases are also available:
getObject()- Alias forgetAction()searchObjects()- Alias forsearchActions()getAllObjectNames()- Alias forgetAllActionNames()getObjectDescription()- Alias forgetActionDescription()searchObjectsByDescription()- Alias forsearchActionsByDescription()loadAllObjects()- Alias forloadAllActions()
📚 Data Source
Actions are scraped from:
🔧 Development
Fetch Fresh Data
npm run fetch:actionsRebuild Index
npm run rebuild-indexBuild
npm run build📄 License
MIT License
