---
schema_version: "1"
id: 4c77c160b4d6a50c5143179185e5343d99afe13c514995badf2f40db975fae5b
title: Automate Program Assignment
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/sales-cloud/enablement/guides/enablement-assign-automate.md
canonical_url: https://developer.salesforce.com/docs/sales/enablement/guide/enablement-assign-automate.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 921e7c6041703e3a892a8d7058746d0a3d01b617ee775fe8958c2e1d6c6493b8
products:
  - Sales Programs and Partner Tracks with Enablement
  - Sales Cloud
---
# Automate Program Assignment

If your company plans to assign programs to a large number of users, you can work around the limitations of the default batch assignment window. Enablement provides an invocable action that you can call from Apex or REST API to automate the assignment workflow.

**important:** Ensure that users have the required permission for taking the type of program you’re assigning. Otherwise, the assignment fails. See [Enablement Permission Set Groups, Permission Sets, and Permissions](https://help.salesforce.com/s/articleView?id=sales.enablement_permissions.htm&type=5) and [Assign Permissions to Your Enablement Team](https://help.salesforce.com/s/articleView?id=sales.enablement_setup_assign_perms.htm&type=5).
