> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.withpersona.com/2020-05-18/graph-query-templates/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.withpersona.com/_mcp/server. # Graph Query Templates > Define reusable graph query templates that can run automatically or with different parameters. A graph query template is, conceptually, a "saved" version of a graph query that you can easily reuse and run again. A query template can be run automatically (for example, with a [workflow](/workflows)) or ad-hoc, and with different parameters. ## Getting started In the Graph Explorer UI, the query editor lets you "Save" a graph query as a query template, or "Load" an existing query template to use. You can also find query templates on [the graph templates page](https://withpersona.com/dashboard/graph-query-templates) in the dashboard. ## Using query templates across Persona You can use graph query templates across many Persona products: * [Accounts](/accounts) page: Graph card * Analyze the entities the given Account has relationships with to determine its risk * Compare against historical snapshots to see how the relationships have changed * [Cases](/cases) page: Graph module * Analyze the entities the given Case object has relationships with to determine its risk * Compare against historical snapshots to see how the relationships have changed * [API calls](/running-graph-queries) * Run a graph query via an API call. Just provide a query template ID. * [Workflows conditionals](/workflows) * Create automated rules and decisioning based on graph data within any branch of your workflows > Define reusable graph query templates that can run automatically or with different parameters.