What it is for
Automate procurement, contracts, and invoices with SAP Ariba.
SAP Ariba has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.
Set up the connection
Authentication type: Custom credentials
- 1Sign in to SAP Ariba and look for the API or integrations section in its settings.
- 2Create an API key or token with the permissions you need and copy it.
- 3In flooows, add a SAP Ariba step, click "Connect" and paste it into: Application Key (APIKey), API Base URL, OAuth Client ID, OAuth Client Secret, OAuth Server URL Prefix.
- 4Save the connection: it is stored encrypted and is never shown in plain text.
| Connection field | Type | Required |
|---|---|---|
| Application Key (APIKey) | Secret key | Yes |
| API Base URL | Text | Yes |
| OAuth Client ID | Text | No |
| OAuth Client Secret | Secret key | No |
| OAuth Server URL Prefix | Text | No |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- List Purchase Orders: fill in Buyer ANID; use the data selector to map values from earlier steps.
- List Purchase Order Line Items: fill in Buyer ANID; use the data selector to map values from earlier steps.
- Get Document Changes: fill in Realm; use the data selector to map values from earlier steps.
Tips
- •Test each step before publishing to see the exact output structure.
- •Enable retries on steps that call external services.
Actions (14)
Operations available as flow steps. Expand each one to see its fields.
List Purchase Orders9 fields
| Field | Type | Required |
|---|---|---|
| Buyer ANID | Text | Yes |
| Supplier ANID | Text | No |
| Document Number | Text | No |
| Order Status | Fixed list | No |
| Routing Status | Fixed list | No |
| Start Date | Date and time | No |
| End Date | Date and time | No |
| Page Size | Number | No |
| Offset | Number | No |
List Purchase Order Line Items8 fields
| Field | Type | Required |
|---|---|---|
| Buyer ANID | Text | Yes |
| Document Number | Text | No |
| Order Status | Fixed list | No |
| Routing Status | Fixed list | No |
| Start Date | Date and time | No |
| End Date | Date and time | No |
| Page Size | Number | No |
| Offset | Number | No |
Get Document Changes5 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| Change Sequence ID | Number | No |
| Include Count | Yes / No | No |
| Page Size | Number | No |
| Offset | Number | No |
Get Pending Approvables7 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| Approvable Type | Fixed list | No |
| User | Text | No |
| Password Adapter | Text | No |
| Include Count | Yes / No | No |
| Page Size | Number | No |
| Offset | Number | No |
Get Catalog Items7 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| Catalog Name | Text | Yes |
| Supplier ID | Text | Yes |
| Select Fields | Text | Yes |
| RSQL Filter | Text | No |
| Offset | Number | Yes |
| Limit | Number | No |
Get Active Catalogs6 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| Activated From Date | Date and time | Yes |
| Supplier Domain | Text | No |
| Subscription Name | Text | No |
| Show All | Yes / No | No |
| Show Additional Fields | Yes / No | No |
Get Facet Data3 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| Select Field | Text | Yes |
| RSQL Filter | Text | Yes |
List Invoices14 fields
| Field | Type | Required |
|---|---|---|
| Ariba Network ID | Text | Yes |
| Filter: Buyer ANID | Text | No |
| Filter: Supplier ANID | Text | No |
| Filter: Document Number | Text | No |
| Filter: Document Status | Fixed list | No |
| Filter: Routing Status | Fixed list | No |
| Filter: Created Start Date | Date and time | No |
| Filter: Created End Date | Date and time | No |
| Filter: Updated Start Date | Date and time | No |
| Filter: Updated End Date | Date and time | No |
| Filter: Document Purpose | Fixed list | No |
| Include Invoice Profile | Yes / No | No |
| Page Size | Number | No |
| Offset | Number | No |
Search Contract Workspaces9 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| User | Text | Yes |
| Password Adapter | Text | Yes |
| Select Fields | Text | No |
| Filter | Text | No |
| Page Size | Number | No |
| Offset | Number | No |
| Include Count | Yes / No | No |
| Expand | Text | No |
Get Contract Workspace5 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| User | Text | Yes |
| Password Adapter | Text | Yes |
| Contract ID | Text | Yes |
| Expand | Text | No |
Create Contract Workspace16 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| User | Text | Yes |
| Password Adapter | Text | Yes |
| Title | Text | Yes |
| Description | Long text | No |
| Template ID | Text | No |
| Effective Date | Date and time | No |
| Expiration Date | Date and time | No |
| Contract Amount | Number | No |
| Contract Currency | Text | No |
| Owner Unique Name | Text | No |
| Owner Password Adapter | Text | No |
| Supplier Name | Text | No |
| Supplier System ID | Text | No |
| Is Test Project | Yes / No | No |
| Additional Fields | JSON | No |
Update Contract Workspace13 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| User | Text | Yes |
| Password Adapter | Text | Yes |
| Contract ID | Text | Yes |
| Silent Update | Fixed list | No |
| Title | Text | No |
| Description | Long text | No |
| Effective Date | Date and time | No |
| Expiration Date | Date and time | No |
| Contract Amount | Number | No |
| Contract Currency | Text | No |
| Amendment Reason | Long text | No |
| Additional Fields | JSON | No |
Update Contract Status8 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| User | Text | Yes |
| Password Adapter | Text | Yes |
| Contract ID | Text | Yes |
| Action | Fixed list | Yes |
| Amendment Type | Fixed list | No |
| Amendment Reason | Long text | No |
| Is Template Upgrade Required | Yes / No | No |
Delete Contract Workspace4 fields
| Field | Type | Required |
|---|---|---|
| Realm | Text | Yes |
| User | Text | Yes |
| Password Adapter | Text | Yes |
| Contract ID | Text | Yes |
Common errors
Authentication error
The connection expired or the key was revoked: reconnect it from Connections.
Field not found or empty
Re-test the previous step and remap the field in the data selector.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
