Creating your own flow
Use the default template as a base
Leverage the default template flow to create a version tailored to your business needs.
- Open the Opportunity - Stigg Subscription Template flow to begin customizing it.
Insert your provisioning logic
Before provisioning resources in Stigg (between Step 2 and Step 3 of the default template), insert a new HTTP callout action.
-
Use this action to send an API request to your application to provision entities such as accounts, organizations, or workspaces.

Pass generated IDs to Stigg actions
Update the Create Stigg Customer and Create Stigg Subscription steps in the flow:
- Use the resource IDs returned by your application’s API
- These IDs should be passed to Stigg when creating the corresponding customer and subscription
Save your customized flow
Once you’ve applied all changes, click “Save As” to create a new version of the flow.

Provisioning custom subscriptions with entitlements
In this configuration, Stigg is responsible only for provisioning and fulfillment of entitlements - billing is handled separately through your existing Salesforce processes. To set it up:Create products in Salesforce
Create a product in Salesforce to represent your Stigg plan.
- Set the Stigg Type to
Plan - Set the Stigg ID to the corresponding plan ID in your Stigg app
-
For each entitlement product, set the Stigg Type to
Entitlement -
Set the Stigg ID to the corresponding entitlement ID in Stigg

Create an account and opportunity
In Salesforce, create a new Account and an associated Opportunity for that account.
- Open the opportunity
- Navigate to Products → Add Products
- Add both the plan product and the entitlement products
Set quantities and close the deal
During the product selection flow:
- Assign quantities for each product according to your desired subscription configuration
- Move the opportunity to Closed/Won to trigger the provisioning process
Verify subscription in Stigg
Once the opportunity is closed:
- A corresponding customer will be created in Stigg
- Their subscription, including associated entitlements, will appear in the Customers section of your Stigg app
Provisioning paid subscriptions, price overrides, and invoices
Stigg’s Salesforce integration supports provisioning of paid subscriptions with price overrides and invoice-based billing, enabling SaaS companies to implement complete Order-to-Cash (O2C) flows directly from Salesforce. This allows Salesforce to act as the quoting and opportunity management layer, while Stigg handles subscription fulfillment and billing orchestration, including automated invoice generation.Edit the Salesforce provisioning flow
To enable invoice-based billing, configure the Create Stigg Subscription node in your Salesforce Flow:
- Set the Payment Collection Method to
INVOICE: this instructs Stigg to generate an invoice instead of attempting automatic payment.
- Ensure the customer receiving the subscription has a valid billing email address associated with their profile.
- This email will be used for invoice delivery.
- The same email address should also exist in the Contacts section of the corresponding Salesforce account.
Create the opportunity and add products
- Create a new Opportunity in Salesforce
- Add the Salesforce product that refers to the paid plan in Stigg
- Add any entitlement products included in the plan
- Assign appropriate quantities based on the desired configuration
Apply price overrides
In the Sales Price column for each product in the opportunity, enter the price that should be used for billing. These values will override the default prices in Stigg and will be used as the base charges when the subscription is provisioned. For usage-based charges this will be used as a flat-fee.

Provisioning paid subscriptions with credit charges
When a paid plan includes credit entitlements (e.g., a monthly allocation of API credits billed at a set price), you can pass those alongside feature entitlements in the Create Stigg Subscription node.Create credit entitlement products in Salesforce
Create a product in Salesforce for each credit entitlement included in the plan.
- Set the Stigg Type to
Entitlement - Set the Stigg ID to the corresponding custom currency ID in Stigg (e.g.,
currency-api-credits)
Configure the Create Stigg Subscription node
In your Salesforce Flow, open the Create Stigg Subscription node:
- Set Payment Collection Method to the desired billing method (
PAYMENT_METHOD_ON_FILEorINVOICE) - In the Subscription Credit Entitlements field, provide a collection with one entry per credit entitlement:
customCurrencyId— the ID of the custom currency in Stiggamount— the number of credits includedcadence—MONTHorYEARprice— (optional) price override for this credit entitlement on the invoice
Add products to the opportunity
In Salesforce, create or open an Opportunity:
- Add the plan product and any feature entitlement products
- Add the credit entitlement products
- Assign quantities and sales prices as needed
Provisioning custom plans with credit entitlements
For custom plans where billing is handled outside of Stigg (nopaymentCollectionMethod), you can provision mixed feature and credit entitlements together.
Create products in Salesforce
Create Salesforce products for each entitlement type:
- For feature entitlements: set Stigg Type to
Entitlementand Stigg ID to the feature ID (e.g.,feature-seats) - For credit entitlements: set Stigg Type to
Entitlementand Stigg ID to the custom currency ID (e.g.,currency-api-credits)
Plan.Configure the Create Stigg Subscription node
In your Salesforce Flow, open the Create Stigg Subscription node:
- Leave Payment Collection Method unset (this is a custom plan — billing is external)
- In the Subscription Credit Entitlements field, provide credit entitlement entries with:
customCurrencyId,amount, andcadence(MONTHorYEAR)
- Feature entitlements continue to be passed as usual via mapped entitlement products
Add products to the opportunity
In Salesforce, create or open an Opportunity:
- Add the plan product
- Add feature entitlement products with their usage limits as quantities
- Add credit entitlement products with their credit amounts as quantities
Granting credits (credit top-up)
Use the Create Stigg Credit Grant flow action to grant credits to a customer outside of a subscription. This is useful for one-off top-ups, promotional grants, or paid credit purchases.Add the Create Stigg Credit Grant action to your flow
In your Salesforce Flow, add an Action element and search for Create Stigg Credit Grant.Configure the required fields:
- Stigg Customer ID — the ID of the customer receiving the credits
- Grant Type —
PROMOTIONALfor free credits, orPAIDfor credits tied to a charge - Currency ID — the ID of the custom currency in Stigg to grant (e.g.
cred-type-test) - Display Name — a label for the credit grant
- Amount — the number of credits to grant
Configure optional fields
Depending on your use case, you may also set:
| Field | Description |
|---|---|
| Resource ID | Associates the grant with a specific external resource |
| Comment | Free-text note describing the reason for the grant |
| Effective Date | When the credits become available |
| Expiration Date | When unused credits expire |
| Priority | Order of consumption when multiple grants exist |
| Payment Collection Method | PAYMENT_METHOD_ON_FILE or INVOICE (for PAID grant type) |
| Currency | Cost currency for the credit grant (for PAID grant type) |
Provisioning trial subscriptions
Configure the flow for trial provisioning
In your Salesforce Flow, open the Create Stigg Subscription node.
- Toggle Trial to on
- Set the Trial field to
True - Enable the Trial End Date toggle and set your desired trial end date
Define the opportunity
In Salesforce, create or open an Opportunity.
- Add the relevant plan and entitlement products from your Salesforce price book
- These products should already be mapped to Stigg entities as part of the integration setup
- Set the appropriate quantity and price for each product to match your desired trial configuration

