ServiceNow
Setup steps
- 1 In ServiceNow, create a REST API account with permissions to write to the Incident table (or your Request table).
- 2 Generate an OAuth token or basic auth credential — note the username + password.
- 3 In Salesforce → License Reclaim → Setup → ITSM Connectivity, choose ServiceNow.
- 4 Paste the instance URL (e.g., https://acme.service-now.com), credentials, and the Assignment Group to route tickets to.
- 5 Map the License Reclaim fields (user display name, email, last login, policy name) to ServiceNow fields.
- 6 In ServiceNow, create an Outbound REST message that fires on ticket close to https://YOUR-ORG.my.salesforce.com/services/apexrest/lr/itsm.
- 7 Use the HMAC signature header License Reclaim shows in the setup screen — paste it into the Outbound REST message as a script include for signing.
HMAC-SHA256 over the request body, secret stored in Salesforce protected custom metadata.
Add either `lr_keep` or `lr_downgrade` as a resolution tag on the ticket. The webhook fires automatically on close.