Creating an Account Type Record

This example demonstrates how to create a record for a specific Coupa account type.


Coupa Example Pipeline

Download this Pipeline
Configure the Coupa Snaps as described in the example.

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:


Mapper Settings

Output from the Mapper Snap:


Mapper Output

This data goes into the Coupa Create Snap configured as shown below:


CoupaCreate Settings

On execution, the Coupa Create Snap creates an account and assigns an ID to it in the Coupa instance.


CoupaCreate Output

You can add more Snaps downstream of the Coupa Create Snap for further processing as needed.

To reuse the example pipelines:
  1. Download and import the SLP file into your Environment.
  2. Configure Snap accounts.
  3. Provide Pipeline parameters, if any.