# G2 - Event triggers

This section contains documentation on the triggers that are currently supported on the Workato platform, including:

# Trigger conditions

For each trigger, you can configure trigger conditions. Trigger conditions are like filters in Workato. Turning on trigger conditions in Workato means that you can selectively choose which events you want to trigger workflows. Conditions can be set on object attributes like approval status. This allows you to build workflows that are only triggered on things such as approved purchase orders or invoices.

# New Lead trigger (real time)

When your G2 profile visitors want to know more about your solutions, they can fill up lead forms to register interest. This trigger picks up leads as soon as they are created. Each new lead is processed as a separate job.

New lead in G2 trigger

New Lead trigger

# Input fields

There are no input fields required for this trigger.

# Output fields

Output field Description
ID The ID of the lead generated.
First name First name of user.
Last name Last name of user.
Email User's email address.
Phone Phone number of user.
Message Message included in the completed lead form.
Company Name of user's company.
Company size Size of user's company.
Industry Industry that the user's company belongs to.
Document title Title of the document the person interacted with before they sent in their form. The text that will pull in is what is contained in Title (Sent via WebHooks) in the Downloads section.
User action Exact action performed by the user to generate the lead. For example, Requested to be contact, Requested a demo, Viewed a report, etc...
Action ID ID of user action.
Created at Time when the lead was generated in UTC.

# New Remote Event trigger

Remote event streams are sent when a direct visit is made to the Product profile, comparisons, category page of a given product, or whenever a user views sponsored content. This triggers only when G2 Crowd tracking can identify the visitor’s organization. Each Remote event stream is processed as a separate job. It checks for new jobs once every poll interval.

New remote event in G2 trigger

New Remote event trigger

# Input fields

Input field Description
From Remote event streams received after this time will be processed by the recipe. If left blank, the default date will be set to one day before the recipe is first started.
Trigger poll interval The intervals at which the trigger will check for new events. Defaults to 30 minutes if left blank.

# Output fields

Output field Description
Visitor ID Session ID for the visitor.
URL URL of the event's location.
Tag Specific tag of the event.
Time The time the event occurred.
Created at The time the event was stored.
Title Name of the event.
Product IDs List of product names where the event occurred if applicable.
Category IDs List of category names where the event occurred if applicable.
User Location Country The country that the user is in.
Country Code Country code of country that the user is in.
State The state that the user is in.
State Code The state code of the state that the user is in.
City The city that the user is in.
Organization Name of the organization received events.
Relationships Company Contains the links to the data of the user's company.
Industry Contains the links to the data of the user's industry.

# New Review trigger

This triggers when a G2 user submits a review of your product on G2. The output of this trigger is a series of questions and answers based on the user’s review. Each Review is processed as a separate job. It checks for new jobs once every poll interval.

New review in G2 trigger

New Review trigger

# Input fields

Input field Description
From Reviews received after this time will be processed by the recipe. If left blank, the default date will be set to one day before the recipe is first started.
Trigger poll interval The intervals at which the trigger will check for new events. Defaults to 30 minutes if left blank.

# Output fields

Output field Description
Default Sort The default order of which the review has been sorted.
Product name Name of the product.
Is public True/False whether the reviewer permitted the review to be attributed to them.
Slug URL Slug of the review.
Percent complete The percentage complete all Review Questions are.
Star rating Rating 0-5.
Title Title of the Review.
Comment answers Primary review question answers.
Secondary answers Secondary review question answers.
Verified current user True/False whether the reviewer is verified.
Is business partner True/False whether the reviewer has a business relationship with the product.
Review source Was the review organic or incentivised.
Votes up Total votes indicating the review was helpful.
Votes down Total votes indicating the review was not helpful.
Votes total Total votes on the review.
User ID Internal UUID of the Reviewer.
User name Name of the Reviewer.
User image URL URL of reviewer's avatar.
Regions Reviewer's geographical regions.
Country name Reviewer's country.
Submitted at Date review was submitted.
Updated at Date review was last edited.
Moderated at Date review was moderated.
Product ID UUID of the product the review was referencing.
Reference user consent Has the Reviewer provided permission to use this review content.
Relationships Product Contains the links to the data of the product under review.
Questions Contains the links to the data of the review's questions.
Answers Contains the links to the data of the review's answers.
Data Returns the results as an array.
Links This contains the links for remaining result pages with the same parameters. Returned as self, prev, first, next, and last. next and prev may be blank if you are on the first or last page respectively.