You can use this Snap to create a record in the selected Coupa resource, for example accounts, suppliers, approvals, and contracts by using the relevant resource APIs. You can use this Snap only to select the resource in which the record is to be created; all record-related parameters must be passed through an upstream Snap such as the Mapper Snap.
Prerequisites
Valid Coupa account with appropriate permissions.
Resource parameters compliant with the resource's schema.
Limitations
None.
Snap Views
Type
Format
Number of Views
Compatible Upstream and Downstream Snaps
Description
Input
Document
Min: 1
Max: 1
Mapper Snap
Copy Snap
The record details as a JSON document.
Output
Document
Min: 0
Max: 1
Coupa Read
Document to Binary + File Writer
Details of the record along with the record ID. Level of detail varies according to the configuration of the Response Type field. Each record is assigned a unique ID.
Error
Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Stop Pipeline Execution: Stops the current pipeline execution when the Snap encounters an error.
Discard Error Data and Continue: Ignores the error, discards that record, and continues with the rest of the records.
Route Error Data to Error View: Routes the error data to an error view without stopping the Snap execution.
Suggestion icon (): Indicates a list that is dynamically populated based on the configuration.
Expression icon (): Indicates whether the value is an expression (if enabled) or static (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon (): Indicates that you can add fields in the fieldset.
Remove icon (): Indicates that you can remove fields from the fieldset.
The name for the Snap. We recommend you update the Snap name, if there is more than one of the same Snap in your Pipeline.
Response Type
Default Value: all Example: shallow
String
Specifies the level of detail required in the Snap's output. You can configure this keeping in mind the available memory and likely processing time that it would take to execute this Snap.
Available options are:
all: Output contains all details of the record created.
none: No output.
limited: Output contains only the ID.
shallow: Output contains ID and the direct child attributes of the record.
The API name associated with the target resource. Select the target resource from the suggestions in the field. Suggestions vary based on the account.
Snap Execution
Default Value: Execute only Example: Validate & Execute
Dropdown list
Specifies the execution type:
Validate & Execute: Performs limited execution of the Snap (up to 50 records) during Pipeline validation; performs full execution of the Snap (unlimited records) during Pipeline execution.
Execute only: Performs full execution of the Snap during Pipeline execution; does not execute the Snap during Pipeline validation.
Disabled: Disables the Snap and, by extension, its downstream Snaps.
Example
Creating an Account Type Record
This example demonstrates how to create a record for a specific Coupa account type.
Parameters for the resource record to be created must be supplied through an upstream Snap. You can use Snaps such as JSON Generator, Mapper, or even File Reader if the parameters are present in the SLDB. In this example, we pass the parameters directly using the Mapper Snap. When you connect a Mapper Snap to the Coupa Create Snap, the selected Coupa resource's schema is not readily available in the Mapper Snap. Validate the Pipeline once to get the target resource schema in the Mapper Snap. After the schema is available, you can map the input data to the corresponding fields.
The Mapper Snap is configured as follows:
Each resource category has its own mandatory parameters. If they are not provided, the Snap shows a Bad Request error. See Resources for details.
Output from the Mapper Snap:
This data goes into the Coupa Create Snap configured as shown below:
On execution, the Coupa Create Snap creates an account and assigns an ID to it in the Coupa instance.
You can add more Snaps downstream of the Coupa Create Snap for further processing as needed.
Downloads
Important steps to successfully reuse Pipelines
Download and import the pipeline into the SnapLogic application.
Updated and certified against the current SnapLogic Platform release.
May 2024
main26341
Stable
Updated and certified against the current SnapLogic Platform release.
February 2024
main25112
Stable
Updated and certified against the current SnapLogic Platform release.
November 2023
main23721
Stable
Updated and certified against the current SnapLogic Platform release.
August 2023
main22460
Stable
Updated and certified against the current SnapLogic Platform release.
May 2023
main21015
Stable
Upgraded with the latest SnapLogic Platform release.
February 2023
main19844
Stable
Upgraded with the latest SnapLogic Platform release.
December 2022
431patches19431
Latest
Fixed an issue with the Coupa OAuth2 account where the account intermittently failed when refreshing the access token.
November 2022
main18944
Stable
Upgraded with the latest SnapLogic Platform release.
4.30 Patch
430patches17137
Latest
The Coupa Read Snap now reads all the records (using the Next Request) even when the page has fewer records, until the zero record count.
August 2022
main17386
Stable
Upgraded with the latest SnapLogic Platform release.
4.29
main15993
Stable
Added a new account type Coupa OAuth2 that enables OAuth2 authentication for all Coupa Snaps.
Enhanced the Coupa Create and Coupa Update Snaps with the minimum number of output views to zero.
The Coupa Account will be deprecated after 4.29 GA, as Coupa will discontinue the support of the API-based authentication in their upcoming September 2022 Release (R34). We recommend that you migrate your existing Pipelines configured with Coupa Account to Coupa OAuth2 Account immediately. Learn more: Coupa API Keys Deprecation.
4.28
main14627
Stable
Upgraded with the latest SnapLogic Platform release.
4.27
main12833
Stable
Upgraded with the latest SnapLogic Platform release.
4.26
main11181
Stable
Upgraded with the latest SnapLogic Platform release.
4.25 Patch
425patches10994
Latest
Enhanced the Snap Pack to support HTTP Proxy Authentication.
4.25
main9554
Stable
Upgraded with the latest SnapLogic Platform release.
4.24
main8556
Stable
Enhanced the Snap Pack to support Cross-Account IAM role that allows accessing the queues residing in another AWS account.
4.23
main7430
Stable
Upgraded with the latest SnapLogic Platform release.
4.22
main6403
Stable
Upgraded with the latest SnapLogic Platform release.
4.21 Patch
421patches5851
Latest
Fixed the Coupa Read Snap that is unable to read all the available records.
4.21
snapsmrc542
Stable
Upgraded with the latest SnapLogic Platform release.
4.20
snapsmrc535
Stable
Upgraded with the latest SnapLogic Platform release.
4.19
snaprsmrc528
Stable
Introduced Coupa Snap Pack. Create, update, and fetch Coupa resource records. This Snap Pack includes the following Snaps:
Coupa Create: Create Coupa resource records.
Coupa Read: Fetch Coupa resource records.
Coupa Update: Update Coupa resource records. You can also deactivate Coupa resources using this Snap.
Updated and certified against the current SnapLogic Platform release.
May 2024
main26341
Stable
Updated and certified against the current SnapLogic Platform release.
February 2024
main25112
Stable
Updated and certified against the current SnapLogic Platform release.
November 2023
main23721
Stable
Updated and certified against the current SnapLogic Platform release.
August 2023
main22460
Stable
Updated and certified against the current SnapLogic Platform release.
May 2023
main21015
Stable
Upgraded with the latest SnapLogic Platform release.
February 2023
main19844
Stable
Upgraded with the latest SnapLogic Platform release.
December 2022
431patches19431
Latest
Fixed an issue with the Coupa OAuth2 account where the account intermittently failed when refreshing the access token.
November 2022
main18944
Stable
Upgraded with the latest SnapLogic Platform release.
4.30 Patch
430patches17137
Latest
The Coupa Read Snap now reads all the records (using the Next Request) even when the page has fewer records, until the zero record count.
August 2022
main17386
Stable
Upgraded with the latest SnapLogic Platform release.
4.29
main15993
Stable
Added a new account type Coupa OAuth2 that enables OAuth2 authentication for all Coupa Snaps.
Enhanced the Coupa Create and Coupa Update Snaps with the minimum number of output views to zero.
The Coupa Account will be deprecated after 4.29 GA, as Coupa will discontinue the support of the API-based authentication in their upcoming September 2022 Release (R34). We recommend that you migrate your existing Pipelines configured with Coupa Account to Coupa OAuth2 Account immediately. Learn more: Coupa API Keys Deprecation.
4.28
main14627
Stable
Upgraded with the latest SnapLogic Platform release.
4.27
main12833
Stable
Upgraded with the latest SnapLogic Platform release.
4.26
main11181
Stable
Upgraded with the latest SnapLogic Platform release.
4.25 Patch
425patches10994
Latest
Enhanced the Snap Pack to support HTTP Proxy Authentication.
4.25
main9554
Stable
Upgraded with the latest SnapLogic Platform release.
4.24
main8556
Stable
Enhanced the Snap Pack to support Cross-Account IAM role that allows accessing the queues residing in another AWS account.
4.23
main7430
Stable
Upgraded with the latest SnapLogic Platform release.
4.22
main6403
Stable
Upgraded with the latest SnapLogic Platform release.
4.21 Patch
421patches5851
Latest
Fixed the Coupa Read Snap that is unable to read all the available records.
4.21
snapsmrc542
Stable
Upgraded with the latest SnapLogic Platform release.
4.20
snapsmrc535
Stable
Upgraded with the latest SnapLogic Platform release.
4.19
snaprsmrc528
Stable
Introduced Coupa Snap Pack. Create, update, and fetch Coupa resource records. This Snap Pack includes the following Snaps:
Coupa Create: Create Coupa resource records.
Coupa Read: Fetch Coupa resource records.
Coupa Update: Update Coupa resource records. You can also deactivate Coupa resources using this Snap.