# G2

> Read G2 products, reviews, buyer intent and product reference data.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/g2

## Actions

### Get category

Get category.

**Inputs**

- Fields Categories (`fields_categories`, list): Fields categories. One or more of: `uuid`, `name`, `slug`, `description`, `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `products`, `children`, `ancestors`, `descendants`, `parent`.
- Id (`id`, text, required): Id.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "name": "example",
        "slug": "example"
      },
      "id": "example",
      "relationships": {},
      "type": "example"
    },
    "included": []
  }
}
```

### Get current user

Get current user.

**Inputs**

- Fields Users (`fields_users`, list): Fields users. One or more of: `id`, `email`, `image_url` (Image url).

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "email": "example",
        "id": "example",
        "image_url": "example"
      },
      "id": "example",
      "relationships": {},
      "type": "example"
    },
    "included": []
  }
}
```

### Get product

Get product.

**Inputs**

- Fields Products (`fields_products`, list): Fields products. One or more of: `type`, `detail_description` (Detail description), `domain`, `g2_url` (G2 url), `name`, `public_detail_url` (Public detail url), `review_count` (Review count), `slug`, `write_review_url` (Write review url), `is_validated` (Is validated), and 3 more.
- Include (`include`, list): Include. One or more of: `categories`, `discussions`, `screenshots`, `vendor`.
- Product (`product_id`, text, required): Product id.
- Include Unclaimed (`include_unclaimed`, true/false): Include unclaimed.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "detail_description": "example",
        "domain": "example",
        "g2_url": "example",
        "image_url": "example",
        "is_validated": false,
        "name": "example",
        "pricing_tiers": [],
        "public_detail_url": "example",
        "review_count": 1,
        "slug": "example",
        "star_rating": 1.0,
        "type": "example",
        "write_review_url": "example"
      },
      "id": "example",
      "relationships": {},
      "type": "example"
    },
    "included": []
  }
}
```

### Get question

Get question.

**Inputs**

- Fields Questions (`fields_questions`, list): Fields questions. One or more of: `title`, `text_template` (Text template), `is_required` (Is required), `description`, `question_type` (Question type), `input_type` (Input type), `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `categories`.
- Id (`id`, text, required): Id.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "description": "example",
        "input_type": "example",
        "is_required": false,
        "question_type": "example",
        "text_template": "example",
        "title": "example",
        "updated_at": "example"
      },
      "id": "example",
      "relationships": {},
      "type": "example"
    },
    "included": []
  }
}
```

### Get vendor

Get vendor.

**Inputs**

- Fields Vendors (`fields_vendors`, list): Fields vendors. One or more of: `name`, `description`, `company_website` (Company website), `slug`, `public_products_count` (Public products count), `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `products`.
- Id (`id`, text, required): Id.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": {
      "attributes": {
        "company_website": "example",
        "description": "example",
        "name": "example",
        "public_products_count": 1,
        "slug": "example",
        "updated_at": "example"
      },
      "id": "example",
      "relationships": {},
      "type": "example"
    },
    "included": []
  }
}
```

### List badges

List badges.

**Inputs**

- Product (`product_id`, text, required): Product id.
- Page Number (`page_number`, number): Page number.
- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Filter Season (`filter_season`, text): Filter season.
- Filter Year (`filter_year`, text): Filter year.
- Filter Category Id (`filter_category_id`, text): Filter category id.
- Fields Medals (`fields_medals`, list): Fields medals. One or more of: `title`, `description`, `badge_type` (Badge type), `image`, `alt_text` (Alt text), `segment`, `full_title` (Full title), `geo_name` (Geo name).
- Include (`include`, list): Include. One or more of: `product`, `categories`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List buyer intent

List buyer intent.

**Inputs**

- Subject Product (`subject_product_id`, text, required): Subject product id.
- Dimensions (`dimensions`, list): Dimensions. One or more of: `signal_type` (Signal type), `time`, `day`, `week`, `month`, `company_id` (Company id), `company_name` (Company name), `company_domain` (Company domain), `company_country` (Company country), `company_state` (Company state), and 24 more.
- Measures (`measures`, list): Measures. One or more of: `total_activity` (Total activity), `visitor_count` (Visitor count), `company_count` (Company count), `last_seen_at` (Last seen at).
- Sort (`sort`, text): Sort.
- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Dimension Filters (`dimension_filters`, object): Dimension filters.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List categories

List categories.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Created At Gt (`filter_created_at_gt`, date and time): Filter created at gt.
- Filter Created At Lt (`filter_created_at_lt`, date and time): Filter created at lt.
- Filter Name Eq (`filter_name_eq`, text): Filter name eq.
- Filter Name Cont (`filter_name_cont`, text): Filter name cont.
- Filter Slug Eq (`filter_slug_eq`, text): Filter slug eq.
- Filter Slug Cont (`filter_slug_cont`, text): Filter slug cont.
- Fields Categories (`fields_categories`, list): Fields categories. One or more of: `uuid`, `name`, `slug`, `description`, `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `products`, `children`, `ancestors`, `descendants`, `parent`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List competitors

List competitors.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Per (`per`, number): Per. From 1 to 50.
- Filter Category Uuid Eq (`filter_category_uuid_eq`, text): Filter category uuid eq.
- Fields Products (`fields_products`, list): Fields products. One or more of: `type`, `detail_description` (Detail description), `domain`, `g2_url` (G2 url), `name`, `public_detail_url` (Public detail url), `review_count` (Review count), `slug`, `write_review_url` (Write review url), `is_validated` (Is validated), and 3 more.
- Include (`include`, list): Include. One or more of: `categories`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List discussions

List discussions.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Fields Discussions (`fields_discussions`, list): Fields discussions. One or more of: `attribution`, `comments_count` (Comments count), `comments_present` (Comments present), `content`, `created_at` (Created at), `is_public` (Is public), `official_response_present` (Official response present), `product_id` (Product id), `product_name` (Product name), `report_url` (Report url), and 10 more.
- Include (`include`, list): Include. One or more of: `user`, `comments`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List downloads

List downloads.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Filter Created At Gt (`filter_created_at_gt`, text): Min time for when a record was created. Using rfc3339 format.
- Filter Created At Lt (`filter_created_at_lt`, text): Max time for when a record was last updated. Using rfc3339 format.
- Filter Updated At Gt (`filter_updated_at_gt`, text): Min time for when a record was last updated. Using rfc3339 format.
- Filter Updated At Lt (`filter_updated_at_lt`, text): Max time for when a record was last updated. Using rfc3339 format.
- Fields Downloads (`fields_downloads`, list): Fields downloads. One or more of: `id`, `product_id` (Product id), `url`, `created_at` (Created at), `updated_at` (Updated at), `file_name` (File name), `title`, `description`.
- Include (`include`, list): Include. One or more of: `product`, `vendor`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List features

List features.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Created At Gt (`filter_created_at_gt`, date and time): Filter created at gt.
- Filter Created At Lt (`filter_created_at_lt`, date and time): Filter created at lt.
- Filter Category Uuid Eq (`filter_category_uuid_eq`, text): Filter category uuid eq.
- Filter Product Uuid Eq (`filter_product_uuid_eq`, text): Filter product uuid eq.
- Filter Functionality Eq (`filter_functionality_eq`, text): Filter functionality eq.
- Filter Is Verified Eq (`filter_is_verified_eq`, text): Filter is verified eq.
- Fields Product Features (`fields_product_features`, list): Fields product features. One or more of: `section_title` (Section title), `feature_id` (Feature id), `feature`, `description`, `review_count` (Review count), `rating`, `functionality`, `is_verified` (Is verified), `available`, `created_at` (Created at), `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `category`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": {
      "objects": []
    },
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List owned products

List owned products.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Fields Products (`fields_products`, list): Fields products. One or more of: `name`, `domain`, `slug`, `image_url` (Image url).
- Include (`include`, list): Include. One or more of: `categories`, `subscribed_categories` (Subscribed categories).
- Filter Product Id (`filter_product_id`, list): Filter product id.
- Filter Slug (`filter_slug`, list): Filter slug.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List products

List products.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Created At Gt (`filter_created_at_gt`, date and time): Filter created at gt.
- Filter Created At Lt (`filter_created_at_lt`, date and time): Filter created at lt.
- Filter Category Id (`filter_category_id`, list): Filter category id.
- Filter Product Id (`filter_product_id`, list): Filter product id.
- Filter Review Count Gteq (`filter_review_count_gteq`, text): Filter review count gteq.
- Filter Slug (`filter_slug`, list): Filter slug.
- Filter Star Rating (`filter_star_rating`, list): Filter star rating.
- Filter Vendor Name (`filter_vendor_name`, text): Filter vendor name.
- Filter Product Name Cont (`filter_product_name_cont`, text): Filter product name cont.
- Filter Product Name Eq (`filter_product_name_eq`, text): Filter product name eq.
- Filter Public Detail Url (`filter_public_detail_url`, list): Filter public detail url.
- Filter Public Detail Url Cont (`filter_public_detail_url_cont`, list): Filter public detail url cont.
- Filter Query (`filter_query`, text): Filter query.
- Fields Products (`fields_products`, list): Fields products. One or more of: `type`, `detail_description` (Detail description), `domain`, `g2_url` (G2 url), `name`, `public_detail_url` (Public detail url), `review_count` (Review count), `slug`, `write_review_url` (Write review url), `is_validated` (Is validated), and 3 more.
- Include (`include`, list): Include. One or more of: `categories`, `discussions`, `screenshots`, `vendor`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List questions

List questions.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Created At Gt (`filter_created_at_gt`, date and time): Filter created at gt.
- Filter Created At Lt (`filter_created_at_lt`, date and time): Filter created at lt.
- Fields Questions (`fields_questions`, list): Fields questions. One or more of: `title`, `text_template` (Text template), `is_required` (Is required), `description`, `question_type` (Question type), `input_type` (Input type), `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `categories`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List reviews

List reviews.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Category Ids (`filter_category_ids`, list): Filter category ids.
- Filter Comment Answer Values Exclude (`filter_comment_answer_values_exclude`, text): Filter comment answer values exclude.
- Filter Company Segment (`filter_company_segment`, list): Filter company segment.
- Filter Country (`filter_country`, list): Filter country.
- Filter Industry (`filter_industry`, list): Filter industry.
- Filter Nps (`filter_nps`, list): Filter nps.
- Filter Nps Score (`filter_nps_score`, list): Filter nps score.
- Filter Region (`filter_region`, list): Filter region.
- Filter Role (`filter_role`, list): Filter role.
- Filter Removed (`filter_removed`, text): Filter removed.
- Fields Reviews (`fields_reviews`, text): Fields reviews.
- Include (`include`, list): Include. One or more of: `user`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List screenshots

List screenshots.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Filter Created At Gt (`filter_created_at_gt`, text): Min time for when a record was created. Using rfc3339 format.
- Filter Created At Lt (`filter_created_at_lt`, text): Max time for when a record was last updated. Using rfc3339 format.
- Filter Updated At Gt (`filter_updated_at_gt`, text): Min time for when a record was last updated. Using rfc3339 format.
- Filter Updated At Lt (`filter_updated_at_lt`, text): Max time for when a record was last updated. Using rfc3339 format.
- Fields Screenshots (`fields_screenshots`, list): Fields screenshots. One or more of: `id`, `product_id` (Product id), `url`, `created_at` (Created at), `updated_at` (Updated at), `file_name` (File name), `title`, `description`.
- Include (`include`, list): Include. One or more of: `product`, `vendor`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List vendors

List vendors.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Created At Gt (`filter_created_at_gt`, date and time): Filter created at gt.
- Filter Created At Lt (`filter_created_at_lt`, date and time): Filter created at lt.
- Filter Domain (`filter_domain`, text): Filter domain.
- Fields Vendors (`fields_vendors`, list): Fields vendors. One or more of: `name`, `description`, `company_website` (Company website), `slug`, `public_products_count` (Public products count), `updated_at` (Updated at).
- Include (`include`, list): Include. One or more of: `products`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List video reviews

List video reviews.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Filter Updated At Gt (`filter_updated_at_gt`, date and time): Filter updated at gt.
- Filter Updated At Lt (`filter_updated_at_lt`, date and time): Filter updated at lt.
- Filter Created At Gt (`filter_created_at_gt`, date and time): Filter created at gt.
- Filter Created At Lt (`filter_created_at_lt`, date and time): Filter created at lt.
- Fields Video Reviews (`fields_video_reviews`, list): Fields video reviews. One or more of: `product_id` (Product id), `url`, `created_at` (Created at), `updated_at` (Updated at), `file_name` (File name), `title`, `description`, `thumbnail_url` (Thumbnail url), `video_type` (Video type), `video_id` (Video id), `video_provider` (Video provider), `video_transcript_text` (Video transcript text).
- Include (`include`, list): Include. One or more of: `product`, `vendor`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```

### List videos

List videos.

**Inputs**

- Page Size (`page_size`, number): Page size. From 1 to 250. Default: `25`.
- Page After (`page_after`, text): Page after.
- Page Before (`page_before`, text): Page before.
- Product (`product_id`, text, required): Product id.
- Filter Created At Gt (`filter_created_at_gt`, text): Min time for when a record was created. Using rfc3339 format.
- Filter Created At Lt (`filter_created_at_lt`, text): Max time for when a record was last updated. Using rfc3339 format.
- Filter Updated At Gt (`filter_updated_at_gt`, text): Min time for when a record was last updated. Using rfc3339 format.
- Filter Updated At Lt (`filter_updated_at_lt`, text): Max time for when a record was last updated. Using rfc3339 format.
- Fields Product Videos (`fields_product_videos`, list): Fields product videos. One or more of: `id`, `product_id` (Product id), `url`, `created_at` (Created at), `updated_at` (Updated at), `description`, `thumbnail_url` (Thumbnail url), `video_type` (Video type), `video_id` (Video id), `video_provider` (Video provider).
- Include (`include`, list): Include. One or more of: `product`, `vendor`.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "data": [],
    "included": [],
    "links": {
      "next": "example",
      "prev": "example",
      "self": "example"
    }
  }
}
```
