Query Customers activity

An activity that retrieves one or more customers from Stripe.


Query Customers activity

Configure the Query Customers activity

Examples

Prerequisites

Good to Know

How to Start

  1. Open Process Builder.

    For information about how to open this screen, refer to Process Builder.


    Open Process Builder
  2. In Process Builder, in the Activity Library, open the Stripe tab.

    Open Stripe tab
  3. On the Stripe tab, drag the Query Customers activity onto your process.

    Drag Query Customers activity

General Configuration

Specifies the basic settings for the Query Customers activity.

Figure: General Configuration screen

General Configuration screen

Good to Know

  • Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.

Fields

Field NameDefinition

Display Name

Description:
Specifies the activity name that shows in your process.
Allowed Values:
One line of text (a string).

Accepted:

  • Letters
  • Numbers
  • Spaces
Default Value:
None
Accepts Variables:
No
Example:
This is a common configuration field that is used in many examples. Refer to:
  • Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.

Description

Description:
Specifies an optional text description for your activity.
Allowed Values:
More than one line of text.
Default Value:
None
Accepts Variables:
No

Query Customers Configuration

Specifies the information about one or more customers to retrieve from Stripe.

Figure: Query Customers Configuration screen

Query Customers Configuration screen

Fields

Field NameDefinition

Stripe

Description:
Specifies the access token that connects to your Stripe service.
Allowed Values:
A list of access tokens configured for your environment.
Default Value:
None

Create Add Token icon

Opens this Screen:
Access tokens for Stripe
Function of this Screen:
Configure an access token to connect to Stripe.

By Customer ID / Filter Condition

Description:
Specifies whether to retrieve information about one or more customers with a customer ID or a SQL WHERE clause.
Allowed Values:
  • By Customer ID - Retrieves information for a customer with a customer ID.
  • Filter Condition - Retrieves information about one or more customers with a SQL WHERE clause.
Default Value:
By Customer ID
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Customer ID

Description:
Specifies the ID of the customer whose information to retrieve.

The customer ID comes from Stripe.

Allowed Values:
A customer ID from Stripe.
Default Value:
None
Accepts Variables:
Yes
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Map Response To App Schema

Description:
Maps information about the customer from the Stripe data model to your process schema.
Allowed Values:
Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper screen.

Use this screen to connect the request to the data model for your process.

Default Value:
None
Example:
Refer to:

Query Customers Configuration > Where tab

Specifies how to configure a filter condition for your query.

Figure: Query Customers Configuration > Where tab

Query Customers Configuration Where tab

Fields

Field NameDefinition

Stripe

Description:
Specifies the access token that connects to your Stripe service.
Allowed Values:
A list of access tokens configured for your environment.
Default Value:
None

Create Add Token icon

Opens this Screen:
Access tokens for Stripe
Function of this Screen:
Configure an access token to connect to Stripe.

By Customer ID / Filter Condition

Description:
Specifies whether to retrieve information about one or more customers with a customer ID or a SQL WHERE clause.
Allowed Values:
  • By Customer ID - Retrieves information for a customer with a customer ID.
  • Filter Condition - Retrieves information about one or more customers with a SQL WHERE clause.
Default Value:
By Customer ID
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Enter Filter Condition / Build Filter Condition

Description:
Specifies how to configure a filter condition for your query.
Allowed Values:
Default Value:
Build Filter Condition
Accepts Variables:
No
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Code Snippet

Description:
Shows the SQL code snippet that is created when you configure the filter condition for your query.

You can configure the filter condition on the Query Customers Configuration > Where tab > Create Conditions screen.

Allowed Values:
Read only.
Default Value:
None

Create Create icon

Opens this Screen:
Query Customers Configuration > Where tab > Create Conditions
Function of this Screen:
Specifies a filter condition to retrieve information about one or more customers from Stripe.

Delete Delete icon

Function:
Deletes the query from the code snippet.

Edit Edit icon

Function:
Lets you change the query.

Query Customers Configuration > Where tab > Create Conditions

Specifies a filter condition to retrieve information about one or more customers from Stripe.

Figure: Query Customers Configuration > Where tab > Create Conditions

Query Customers Configuration Where tab Create Conditions

Fields

Field NameDefinition

Add expression Add Expression icon

Function:
Creates a condition row.

Delete Delete icon

Function:
Deletes the condition row.

Select Nest Type

Function:
Specifies the use of logical AND and OR operators to nest conditions to filter customers.

You must set the condition first, before you specify the nest type.

Allowed Values:
  • And - Specifies the logical AND operator.
  • Or - Specifies the logical OR operator.
Default Value:
AND

Column

Description:
Specifies the name of the column from Stripe to use in your query.
Allowed Values:
A column name from the list.

When you select the access token from the Stripe field, this field shows the column names associated with the access token.

Default Value:
None
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Comparer

Description:
Specifies the operator to use in your query.
Allowed Values:
  • is equal to
  • is not equal to
  • is less than
  • is less than or equal to
  • is greater than
  • is greater than or equal to
  • is blank
  • contains
  • does not contain
Default Value:
is equal to

Value

Description:
Specifies the value for the column.
Allowed Values:
A valid column value.
Default Value:
None
Accepts Variables:
Yes
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Back Back icon

Function:
Saves the rule and goes back to the Query Customers Configuration screen.

Query Customers Configuration > Response tab

Specifies how to store the information about one or more customers from Stripe in your process schema.

Figure: Query Customers Configuration > Response tab

Query Customers Configuration Response tab

Fields

Field NameDefinition

Stripe

Description:
Specifies the access token that connects to your Stripe service.
Allowed Values:
A list of access tokens configured for your environment.
Default Value:
None

Create Add Token icon

Opens this Screen:
Access tokens for Stripe
Function of this Screen:
Configure an access token to connect to Stripe.

By Customer ID / Filter Condition

Description:
Specifies whether to retrieve information about one or more customers with a customer ID or a SQL WHERE clause.
Allowed Values:
  • By Customer ID - Retrieves information for a customer with a customer ID.
  • Filter Condition - Retrieves information about one or more customers with a SQL WHERE clause.
Default Value:
By Customer ID
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?

Map Response To App Schema / Store Response In This Variable

Description:
Specifies where to store the response from Stripe.
Allowed Values:
  • Store Response To This VariableSelect this option if you want to store the information from Stripe to a variable in the AgilePoint NX app.

    In the text field, specify a variable that accepts an alphanumeric string in JSON format.

  • Map Response To App SchemaSelect this option if you want to map the information from the Stripe data model to your process schema.

    Click the Schema Mapping Schema Mapping icon button to open the Schema Mapper.

    Use this screen to connect the response to the data model for your process.

    Because the query can return more than one result, the parent node in the external data source must be mapped to a node in the AgilePoint NX process schema that is a repeating schema element. The child nodes in both data models must also be mapped, but child nodes in AgilePoint NX inherit the repeating behavior from their parent node.

Default Value:
Map Response To App Schema
Accepts Variables:
Yes
Limitations:

Some information about third-party integrations is outside the scope of the AgilePoint NX Product Documentation. It is the responsibility of the vendors who create and maintain these technologies to provide this information. This includes specific business use cases and examples; explanations for third-party concepts; details about the data models and input and output data formats for third-party technologies; and various types of IDs, URL patterns, connection string formats, or other technical information that is specific to the third-party technologies. For more information, refer to Where Can I Find Information and Examples for Third-Party Integrations?