Loading
Ongoing maintenance for Salesforce HelpRead More
PHP Vulnerability Monitoring Read More
Agentforce and Einstein Generative AI
Marketing | Get Marketing Object Metadata and Planning Hierarchy

Marketing | Get Marketing Object Metadata and Planning Hierarchy

Looks up the field-level setup of marketing planning objects and the available planning hierarchies before the agent creates records. It returns the fields that a user can set on a program or goal. It also returns the hierarchy groups, levels, and per-level create access for that user. This action is read-only.

Required Editions

Available in: Lightning Experience
Available in: Salesforce Enterprise and Unlimited Editions with Marketing Cloud Next Advanced Edition and and the Agentforce for Marketing add-on.
User Permissions Needed
To use this action: Marketing Planning and Operations Agent User permission set group
See Common User Access for Standard Agent Actions.

Action Details

API Name GetMktObjMetadataPlnHierarchy
Reference Action Type Standard Action
Does this action execute one or more prompt templates? No
Required Setup Set Up the Marketing Planning and Operations Agent

Guidelines and Considerations

  • The action is read-only. It doesn't create, update, or delete records.
  • The action describes the Marketing Program and Marketing Goal objects by default. It describes up to 20 object names in a single request.
  • The action reports each field's view, create, and update access from the signed-in user's field-level security. It returns every field and marks the access that the user has for each one.
  • The action returns the levels, the allowed parent levels, and the per-level create access for each hierarchy group. A level, such as Objective, Initiative, Program, or Plan, is a scope of ownership within a hierarchy group.
  • The action reports create access at each level separately from record-level permissions. A user can have permission to create marketing programs but create them only at the levels where they're an allowed creator.
  • The action returns only active hierarchy groups. If no active hierarchy group exists, the agent doesn't create or place records.
 
Loading
Salesforce Help | Article