{
  "name": "G2 snapshot report",
  "description": "Analyze G2 product data to provide actionable insights, ratings, and reviews, streamlining your market strategy and enhancing buyer engagement.",
  "nodes": [
    {
      "id": "start",
      "type": "start",
      "position": {
        "x": -100,
        "y": 0
      },
      "data": {
        "title": "Start"
      },
      "input_variables": [],
      "output_variables": [
        {
          "variable": {
            "id": "3b85c91c-90e7-48c0-b89b-8363f481be1e",
            "name": "Product",
            "data_type": {
              "kind": "primitive",
              "type": "string"
            },
            "required": true
          }
        },
        {
          "variable": {
            "id": "e8de299d-6331-4863-9dbd-7371f561b3ec",
            "name": "Category",
            "data_type": {
              "kind": "array",
              "item_type": {
                "kind": "primitive",
                "type": "string"
              }
            },
            "required": true
          }
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top",
      "selected": true
    },
    {
      "id": "naSsr3HfYRLL_aNNXbXyf",
      "type": "tool",
      "position": {
        "x": -100,
        "y": 148
      },
      "data": {
        "title": "Get Market Signals",
        "tool_id": "market_signals_lookup",
        "provider_id": "g2",
        "tool_parameters": {
          "limit": 100,
          "end_date": "2026-07-26",
          "start_date": "2026-07-20",
          "category_ids": "{{e8de299d-6331-4863-9dbd-7371f561b3ec}}",
          "integration_id": "019eb370-20f6-7751-9d01-426ab1d74858"
        }
      },
      "input_variables": [
        {
          "variable_id": "e8de299d-6331-4863-9dbd-7371f561b3ec",
          "required": false
        }
      ],
      "output_variables": [
        {
          "variable": {
            "id": "a05aba89-4c0c-4e2e-b5da-778ba6f6c85f",
            "name": "Market Signals",
            "data_type": {
              "kind": "array",
              "item_type": {
                "kind": "primitive",
                "type": "string"
              }
            },
            "required": false
          },
          "expected_output_id": "json"
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    },
    {
      "id": "zB44agOpqqQYM812YE92P",
      "type": "tool",
      "position": {
        "x": -100,
        "y": 348
      },
      "data": {
        "tool_parameters": {
          "limit": 100,
          "end_date": "2026-07-26",
          "dimensions": [
            "company_name",
            "company_domain"
          ],
          "start_date": "2026-07-20",
          "integration_id": "019eb370-20f6-7751-9d01-426ab1d74858",
          "subject_product_ids": "{{3b85c91c-90e7-48c0-b89b-8363f481be1e}}"
        },
        "title": "Browse Buyer Intent",
        "provider_id": "g2",
        "tool_id": "buyer_intent_browse"
      },
      "input_variables": [
        {
          "variable_id": "3b85c91c-90e7-48c0-b89b-8363f481be1e",
          "required": false
        }
      ],
      "output_variables": [
        {
          "variable": {
            "id": "f870cad6-b759-4b79-9d88-01715475458f",
            "name": "Buyer Intent",
            "data_type": {
              "kind": "array",
              "item_type": {
                "kind": "primitive",
                "type": "string"
              }
            },
            "required": false
          },
          "expected_output_id": "json"
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    },
    {
      "id": "2Xh4COoySgM_na1dAcTop",
      "type": "tool",
      "position": {
        "x": -100,
        "y": 548
      },
      "data": {
        "tool_id": "product_ratings_get",
        "provider_id": "g2",
        "tool_parameters": {
          "product_id": "{{3b85c91c-90e7-48c0-b89b-8363f481be1e}}",
          "integration_id": "019eb370-20f6-7751-9d01-426ab1d74858"
        },
        "title": "Get Product Rating"
      },
      "input_variables": [
        {
          "variable_id": "3b85c91c-90e7-48c0-b89b-8363f481be1e",
          "required": false
        }
      ],
      "output_variables": [
        {
          "variable": {
            "id": "6bce0f35-29b3-4f99-9925-dc084dff0b5a",
            "name": "Product Rating",
            "data_type": {
              "kind": "primitive",
              "type": "json"
            },
            "required": false
          },
          "expected_output_id": "json"
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    },
    {
      "id": "sLQ9vIykyl1hzQ12Rh28E",
      "type": "tool",
      "position": {
        "x": -100,
        "y": 748
      },
      "data": {
        "tool_parameters": {
          "limit": 100,
          "product_id": "{{3b85c91c-90e7-48c0-b89b-8363f481be1e}}",
          "integration_id": "019eb370-20f6-7751-9d01-426ab1d74858",
          "submitted_after": "2026-07-20",
          "submitted_before": "2026-07-26"
        },
        "title": "Get Reviews",
        "provider_id": "g2",
        "tool_id": "reviews_pull"
      },
      "input_variables": [
        {
          "variable_id": "3b85c91c-90e7-48c0-b89b-8363f481be1e",
          "required": false
        }
      ],
      "output_variables": [
        {
          "variable": {
            "id": "d4eb994c-fb3d-42e3-8da9-53254e497b12",
            "name": "Reviews",
            "data_type": {
              "kind": "array",
              "item_type": {
                "kind": "primitive",
                "type": "string"
              }
            },
            "required": false
          },
          "expected_output_id": "json"
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    },
    {
      "id": "0xdOVj54hPidXu7pvbe_J",
      "type": "llm",
      "position": {
        "x": -100,
        "y": 948
      },
      "data": {
        "title": "Prompt LLM",
        "model": "gpt-mini-latest",
        "provider": "openai",
        "model_parameters": {
          "user_prompt": "You are a product marketing analyst. Review this G2 data for {{3b85c91c-90e7-48c0-b89b-8363f481be1e}} :\n\nRating: {{6bce0f35-29b3-4f99-9925-dc084dff0b5a}} \nReviews: {{d4eb994c-fb3d-42e3-8da9-53254e497b12}} \nCategory demand: {{a05aba89-4c0c-4e2e-b5da-778ba6f6c85f}} \nAccounts in market: {{f870cad6-b759-4b79-9d88-01715475458f}} \n\nWrite a short snapshot with the following structure:\n## Current overall rating\n[current overall rating and 1 sentence overview]\n## Recurring themes\n[Two or three recurring themes from the reviews, with a supporting quote. Format as follows:\n###Theme\nOverview\n**Review quote:**]\n## Category demand trends\n[Overview of whether category demand is trending up or down. 1-2 sentences]\n## Accounts showing buying intent\n[Any accounts showing buying intent worth flagging to sales. Include maximum of 10 accounts. Format as a table]\n",
          "system_prompt": "",
          "enable_web_search": false
        }
      },
      "input_variables": [
        {
          "variable_id": "3b85c91c-90e7-48c0-b89b-8363f481be1e",
          "required": false
        },
        {
          "variable_id": "6bce0f35-29b3-4f99-9925-dc084dff0b5a",
          "required": false
        },
        {
          "variable_id": "d4eb994c-fb3d-42e3-8da9-53254e497b12",
          "required": false
        },
        {
          "variable_id": "a05aba89-4c0c-4e2e-b5da-778ba6f6c85f",
          "required": false
        },
        {
          "variable_id": "f870cad6-b759-4b79-9d88-01715475458f",
          "required": false
        }
      ],
      "output_variables": [
        {
          "variable": {
            "id": "177522e6-fdad-489e-b617-dcb8df67b658",
            "name": "Snapshot report text",
            "data_type": {
              "kind": "primitive",
              "type": "string"
            },
            "required": false
          },
          "expected_output_id": "text"
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    },
    {
      "id": "-qLUKkW2vD253bwXn2nyp",
      "type": "tool",
      "position": {
        "x": -100,
        "y": 1148
      },
      "data": {
        "tool_parameters": {
          "name": "{{3b85c91c-90e7-48c0-b89b-8363f481be1e}} : weekly G2 snapshot",
          "prompt": "",
          "folder_id": "",
          "seed_mode": "markdown",
          "initial_content_markdown": "# {{3b85c91c-90e7-48c0-b89b-8363f481be1e}} : weekly G2 snapshot\n---\n{{177522e6-fdad-489e-b617-dcb8df67b658}} "
        },
        "tool_id": "create_doc",
        "title": "Create Doc",
        "provider_id": "documents"
      },
      "input_variables": [
        {
          "variable_id": "3b85c91c-90e7-48c0-b89b-8363f481be1e",
          "required": false
        },
        {
          "variable_id": "177522e6-fdad-489e-b617-dcb8df67b658",
          "required": false
        }
      ],
      "output_variables": [
        {
          "variable": {
            "id": "8abfe342-fe00-4d19-a8e9-01ef2c050b84",
            "name": "Create Doc Output",
            "description": "JSON object describing the created doc. Reference a field downstream with `{{<node_id>.json.<field>}}`. Key fields: document_id (UUID of the new doc), name, summary (what the creation agent wrote; only when an instruction was run).",
            "data_type": {
              "kind": "primitive",
              "type": "json"
            },
            "required": false
          },
          "expected_output_id": "json"
        }
      ],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    },
    {
      "id": "end",
      "type": "end",
      "position": {
        "x": -100,
        "y": 1379
      },
      "data": {
        "title": "End",
        "dynamic_output_variable_id": "8abfe342-fe00-4d19-a8e9-01ef2c050b84",
        "outputs": [
          {
            "key": "Create Doc Output",
            "required": false,
            "is_dynamic": true,
            "variable_id": "8abfe342-fe00-4d19-a8e9-01ef2c050b84"
          }
        ]
      },
      "input_variables": [
        {
          "variable_id": "8abfe342-fe00-4d19-a8e9-01ef2c050b84",
          "required": false
        }
      ],
      "output_variables": [],
      "sourcePosition": "bottom",
      "targetPosition": "top"
    }
  ],
  "edges": [
    {
      "id": "xy-edge__startoutput-naSsr3HfYRLL_aNNXbXyf",
      "source": "start",
      "target": "naSsr3HfYRLL_aNNXbXyf",
      "sourceHandle": "output",
      "targetHandle": null
    },
    {
      "id": "xy-edge__naSsr3HfYRLL_aNNXbXyfoutput-zB44agOpqqQYM812YE92P",
      "source": "naSsr3HfYRLL_aNNXbXyf",
      "target": "zB44agOpqqQYM812YE92P",
      "sourceHandle": "output",
      "targetHandle": null
    },
    {
      "id": "xy-edge__zB44agOpqqQYM812YE92Poutput-2Xh4COoySgM_na1dAcTop",
      "source": "zB44agOpqqQYM812YE92P",
      "target": "2Xh4COoySgM_na1dAcTop",
      "sourceHandle": "output",
      "targetHandle": null
    },
    {
      "id": "xy-edge__2Xh4COoySgM_na1dAcTopoutput-sLQ9vIykyl1hzQ12Rh28E",
      "source": "2Xh4COoySgM_na1dAcTop",
      "target": "sLQ9vIykyl1hzQ12Rh28E",
      "sourceHandle": "output",
      "targetHandle": null
    },
    {
      "id": "xy-edge__sLQ9vIykyl1hzQ12Rh28Eoutput-0xdOVj54hPidXu7pvbe_J",
      "source": "sLQ9vIykyl1hzQ12Rh28E",
      "target": "0xdOVj54hPidXu7pvbe_J",
      "sourceHandle": "output",
      "targetHandle": null
    },
    {
      "id": "xy-edge__0xdOVj54hPidXu7pvbe_Joutput--qLUKkW2vD253bwXn2nyp",
      "source": "0xdOVj54hPidXu7pvbe_J",
      "target": "-qLUKkW2vD253bwXn2nyp",
      "sourceHandle": "output",
      "targetHandle": null
    },
    {
      "id": "xy-edge__-qLUKkW2vD253bwXn2nypoutput-end",
      "source": "-qLUKkW2vD253bwXn2nyp",
      "target": "end",
      "sourceHandle": "output",
      "targetHandle": null
    }
  ]
}