Query Contact activity

An activity that retrieves one or more contacts from HubSpot.


Query Contact activity

Configure the Query Contact activity

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 HubSpot tab.

    Open HubSpot tab
  3. On the HubSpot tab, drag the Query Contact activity onto your process.

    Drag Query Contact activity

General Configuration

Specifies the basic settings for the Query Contact 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 Contact Configuration

Specifies the information about the contact to retrieve from HubSpot.

Figure: Query Contact Configuration screen

Query Contact Configuration screen

Fields

Field NameDefinition

HubSpot

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

Create Add Token icon

Opens this Screen:
Access Token for HubSpot
Function of this Screen:
Configure an access token to connect to HubSpot.

By Contact ID / Filter Condition

Description:
Specifies whether to retrieve information about one or more contacts with a contact ID or a SQL WHERE clause.
Allowed Values:
Default Value:
Contact 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?

Contact ID

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

The contact ID comes from HubSpot.

Allowed Values:
A contact ID from HubSpot.
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 contact from the HubSpot 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 Contact Configuration > Where tab

Shows the WHERE clause for your query.

Figure: Query Contact Configuration > Where tab

Query Contact Configuration Where tab

Good to Know

Fields

Field NameDefinition

HubSpot

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

Create Add Token icon

Opens this Screen:
Access Token for HubSpot
Function of this Screen:
Configure an access token to connect to HubSpot.

By Contact ID / Filter Condition

Description:
Specifies whether to retrieve information about one or more contacts with a contact ID or a SQL WHERE clause.
Allowed Values:
Default Value:
Contact 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?

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 Contact Configuration > Where tab > Create Conditions screen.

Allowed Values:
Read only.
Default Value:
None

Create Create icon

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

Delete Delete icon

Function:
Deletes the query from the code snippet.

Edit Edit icon

Function:
Lets you change the query.

Query Contact Configuration > Where tab > Create Conditions

Specifies a filter condition to retrieve information about one or more contacts from HubSpot.

Figure: Query Contact Configuration > Where tab > Create Conditions

Query Contact Configuration Where tab Create Conditions

Fields

Field NameDefinition

Add group Add Group icon

Function:
Creates a new conditional expression group.

Select Nest Type

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

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:
Or

Add expression Add Expression icon

Function:
Creates a condition row.

Delete Delete icon

Function:
Deletes the condition row.

Column

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

When you select the access token from the HubSpot 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 present
  • 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 your rule and goes back to the activity configuration screen.

Query Contact Configuration > Response tab

Specifies how to store the information about one or more contacts from HubSpot to your process schema.

Figure: Query Contact Configuration > Response tab

Query Contact Configuration Response tab

Fields

Field NameDefinition

HubSpot

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

Create Add Token icon

Opens this Screen:
Access Token for HubSpot
Function of this Screen:
Configure an access token to connect to HubSpot.

By Contact ID / Filter Condition

Description:
Specifies whether to retrieve information about one or more contacts with a contact ID or a SQL WHERE clause.
Allowed Values:
Default Value:
Contact 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?

Store Response To This Variable / Map Response To App Schema

Description:
Specifies where to store the response from HubSpot.
Allowed Values:
  • Store Response To This VariableSelect this option if you want to store the information from HubSpot 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 HubSpot 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?