Groups JSON Examples and Reference

In order to specify groups you will need to send a JSON file with your rules. Each rule has the following parameters:

input_value

This is the type of field you are referencing. Most often, this will be the Question ID.

If you wish to specify groups based on something other than the a question this will be equivalent to the left dropdown menu in the logic builder in the UI. Field types can be found by referencing the below list or by inspecting element within the logic builder in the UI.

Possible Values for input_value

Survey Question: {Question ID}

Time Taken On Survey: 15_timetaken

Current Date: 6_date

Is Mobile (true/false): 21_mobile

IP Address: 5_ip

Country: 8_country

Region: 9_region

Postal Code: 19_postal

City: 10_city

Contact ID: 13_id

Email Address: 13_emailaddress

First Name: 13_firstname

Last Name: 13_lastname

Organization: 13_organization

Department: 13_department

Division: 13_division

Team: 13_team

Group: 13_group

Role: 13_role

Is Manager: 13_isManager

Home Phone: 13_homephone

Fax Number: 13_fax

Business Phone: 13_workphone

Mailing Address: 13_street

State/Region: 13_region

Postal Code: 13_postal

Country: 13_country

Title: 13_jobtitle

Custom 1-10: 13_custom1-10

Mailing Address 2: 13_suite

City: 13_city

operator

This is the operator used in the logic rule.

Possible Values for operator

is exactly equal to: 4

is not exactly equal to: 22

is one of the following answers: 12

us not one of the following answers: 5

greater than: 6

greater than or equal to: 7

less than: 9

less than or equal to: 8

Date after or equal to: 23

Date before or equal to: 24

is answered: 20

is not answered: 21

matches regex pattern: 14

does not match regex pattern: 15

is true: 26

is false: 27

contains: 10

is always true: 25

answers_type

This is the type of data that is contained in the field specified in input_type.