Skip to content

Sector Templates

Queria includes 6 ready-to-use Canvas templates, designed for the main supported sectors. Each template is a complete, working flow that you can use directly or customize as a starting point.

To create a Canvas from a template: from the Canvas list click New from Template, select the desired template and click Use this template. The flow is copied to your workspace and you can modify it freely.


1. Claim Analysis (Insurance)

Use case: Automated assessment of insurance claims with structured data collection, AI assessment, and differentiated reports for positive and negative outcomes.

Flow Schema

Begin (form: claimType, claimDate, description, policyNumber, estimatedAmount)

Categorize (Auto | Life | Home | Liability | Other)

VariableAssigner (searchQuery + claimSummary)

Retrieval (companyDocs + knowledgeBase + legalSources, topK: 20)

LLM Assessment (writer, temperature: 0.1, verdict COVERAGE CONFIRMED/NOT CONFIRMED)

Switch (contains "COVERAGE CONFIRMED"?)
  ├─ [YES] LLM Positive Report → Message Acceptance
  └─ [NO] UserFillUp (photos, appraisal, ownership document, notes)

           Supplementary Retrieval

           LLM Negative Report → Message Supplementary Request

Components

ComponentNode IDFunction
BeginbeginClaim data collection form
Categorizecategorize_1Claim type classification
VariableAssignervarassign_queryQuery and summary construction
Retrievalretrieval_policiesPolicies, conditions, IVASS regulations
LLMllm_analysisAssessment with verdict
Switchswitch_coverageRouting by outcome
LLMllm_report_positiveAcceptance report
UserFillUpuserfillup_supplementaryAdditional document collection
Retrievalretrieval_supplementaryAdditional clause search
LLMllm_report_negativeSupplementary request report
Messagemessage_positivePositive outcome output
Messagemessage_negativeNegative outcome output

Data Sources

SourceEnabledContent
Company documentsYesPolicy conditions, maximum limits, exclusions
Knowledge BaseYesInternal procedures, operational circulars
Legal SourcesYesInsurance Code (D.Lgs. 209/2005), IVASS regulations, Solvency II directives

Input Form

FieldTypeRequired
Claim Typeselect (Auto/Life/Home/Liability/Other)Yes
Date of IncidentdateYes
DescriptiontextYes
Policy NumberstringYes
Estimated Damage AmountnumberNo

How to Customize

  • Add specific categories: expand the Categorize categories with insurance products specific to your company (e.g. "Cyber", "D&O", "Surety").
  • Integrate with the claims management system: use Invoke to call a Canvas that retrieves policy data from an internal database.
  • Customize the assessor System Prompt: add your company's specific operational guidelines for claim settlement.
  • Enable additional external sources: for auto liability policies, enable Legal Sources search for case law on the matter.

Detailed example

This template is documented in detail on the Practical Examples page with the complete configuration of each node.


Use case: Assistant for searching Italian and European regulatory sources. Combines the organization's legal documents with the Normattiva database to answer complex legal questions.

Flow Schema

Begin (conversational)

Retrieval (companyDocs + knowledgeBase + legalSources, topK: 25)

LLM (writer, legal analysis with citations)

Message (with citations)

Components

ComponentNode IDFunction
BeginbeginQuery reception
Retrievalretrieval_regulatorySearch on company docs + Normattiva
LLMllm_legal_analysisLegal analysis and response
Messagemessage_responseOutput with regulatory citations

Data Sources

SourceEnabledContent
Company documentsYesContracts, internal legal opinions, procedures
Knowledge BaseYesInternal case digest, precedents
Legal SourcesYes143,000+ regulatory acts: laws, decrees, codes, EU regulations

Suggested System Prompt

You are a legal consultant expert in Italian and European law.
Answer legal questions with precision and scientific rigor.
Always cite regulatory sources with exact references (e.g. "art. 5 D.Lgs. 81/2008 [N]").
Note any recent amendments or repeals.
If the question requires a professional assessment, state that the response is purely informational.

How to Customize

  • Specialize by legal area: add an initial Categorize node for routing between labor law, civil, corporate, tax — each with Retrieval optimized for the corresponding topics.
  • Add GraphRAG: for questions about relationships between regulations (e.g. "which decree implements this directive?"), consider adding an Agent node with the graph_query tool.
  • Additional sources: enable aeSources for questions with tax implications.
  • Limit the scope: use topicIds in Retrieval to restrict the search to a specific practice area.

3. Product Compliance Check (Food)

Use case: Assessment of regulatory compliance of food products, labeling analysis, ingredient and additive verification, nutritional claim review.

Flow Schema

Begin (form: productName, category, ingredients, market_country)

VariableAssigner (enriched query with ingredients and category)

Retrieval (companyDocs + knowledgeBase + foodSources + legalSources, topK: 20)

LLM (writer, labeling and additive compliance analysis)

Message (compliance report with citations)

Components

ComponentNode IDFunction
BeginbeginProduct data form
VariableAssignervarassign_queryProduct query construction
Retrievalretrieval_complianceSimilar products + EU regulations
LLMllm_complianceCompliance analysis
Messagemessage_reportReport with recommendations

Data Sources

SourceEnabledContent
Company documentsYesProduct data sheets, QA procedures
Knowledge BaseYesInternal compliance procedures
Food SourcesYesOpen Food Facts database with Nutri-Score, NOVA, Eco-Score
Legal SourcesYesEU Reg. 1169/2011 (labeling), EU Reg. 1333/2008 (additives), EU Reg. 178/2002

Input Form

FieldTypeRequired
Product NamestringYes
Categoryselect (Beverages/Dairy/Meats/Cereals/Snacks/Organic/...)Yes
Ingredient ListtextYes
Market Countryselect (Italy/EU/Non-EU)Yes
Nutritional ClaimstextNo

How to Customize

  • Add allergen verification: insert a dedicated LLM node (planner model, fast) before the main analysis to identify mandatory allergens to declare.
  • Integrate with the product catalog: use Invoke to retrieve existing data sheets from your management system.
  • Add Iteration: to verify each ingredient individually, use a DataOperations (split on the ingredient list) + Iteration + LLM for each ingredient.

4. Safety Data Sheet Analysis (Chemical)

Use case: Analysis of chemical substance safety data sheets (SDS), REACH/CLP compliance verification, risk identification, and operational prescriptions for workers.

Flow Schema

Begin (form: substanceName, ecNumber, casNumber, companyUsage)

VariableAssigner (query with substance identifiers)

Retrieval (companyDocs + knowledgeBase + chemSources, topK: 20)

LLM (writer, SDS analysis, CLP classification, PPE and preventive measures)

Message (safety report with REACH/CLP citations)

Components

ComponentNode IDFunction
BeginbeginSubstance identification form
VariableAssignervarassign_queryQuery with EC/CAS + usage
Retrievalretrieval_sdsInternal SDS + ECHA/REACH database
LLMllm_sds_analysisRisk analysis, PPE, measures
Messagemessage_reportOperational safety report

Data Sources

SourceEnabledContent
Company documentsYesInternal SDS, safety procedures, risk assessment
Knowledge BaseYesOperational safety procedures
Chem SourcesYesECHA/REACH database: SVHC, restrictions, authorizations, SDS
Legal SourcesYesD.Lgs. 81/2008 (workplace safety), REACH Reg. (1907/2006), CLP Reg. (1272/2008)

Input Form

FieldTypeRequired
Substance NamestringYes
EC NumberstringNo
CAS NumberstringNo
Company UsagetextYes
Department/ActivitystringNo

Suggested System Prompt

You are an expert Health and Safety Officer (HSO).
Analyze the provided safety data sheet and supply:
1. CLP classification (pictograms, relevant H and P statements)
2. Main risks in the declared use
3. Mandatory PPE (gloves, goggles, masks, etc.)
4. Prevention and protection measures
5. Disposal and storage compatibility
Always cite regulatory references (REACH, CLP, D.Lgs. 81) with [N].

How to Customize

  • Add a risk assessment module: insert a second LLM that generates the risk assessment sheet per D.Lgs. 81/2008.
  • Integrate with the substance register: use Invoke to automatically update the company register of hazardous substances.
  • Switch by risk level: add a Switch after the LLM that routes based on classification (Very toxic → immediate alert, others → standard flow).

5. Clinical Trial Research (Pharmaceutical)

Use case: Search and synthesis of clinical trials, safety data, pharmacological interactions, and scientific publications relevant to drugs or molecules of interest.

Flow Schema

Begin (conversational)

Retrieval (companyDocs + knowledgeBase + pharmaSources, topK: 30)

DataOperations (filter: phase = "Phase 3" or "Phase 4")

LLM (writer, evidence-based synthesis with PubMed/FDA citations)

Message (report with scientific citations)

Components

ComponentNode IDFunction
BeginbeginQuery reception
Retrievalretrieval_pharmaSearch trials, adverse events, publications
DataOperationsfilter_trialFilter by development phase
LLMllm_synthesisEvidence-based synthesis
Messagemessage_reportOutput with scientific citations

Data Sources

SourceEnabledContent
Company documentsYesInternal dossiers, pre-clinical reports
Knowledge BaseYesPharmacovigilance procedures
Pharma SourcesYes2002 trials, 2500 adverse events, 51 labels, 5677 publications, 234 regulatory PDFs

DataOperations Configuration

yaml
input: "{{retrieval_pharma.results}}"
operation: filter
params:
  field: metadata.phase
  operator: contains
  value: "Phase"

(Filters to retain clinical-phase trials, excluding pre-clinical or observational studies)

Suggested System Prompt

You are a clinical researcher with experience in pharmacovigilance and evidence-based medicine.
Synthesize clinical trial data rigorously.
Always cite the NCT number of trials, PMID of publications, and FDA approval number with [N].
Highlight: primary efficacy, safety profile, studied population, limitations.
Explicitly note if the available data is preliminary or inconclusive.

How to Customize

  • Add filtering by therapeutic indication: insert a Categorize node to classify the query by therapeutic area (oncology, cardiology, neurology, etc.) and use corresponding topicIds in Retrieval.
  • Iteration for in-depth analysis: add Iteration + LLM to analyze each trial in detail, then VariableAggregator to synthesize.
  • Integrate adverse event data: add a second Retrieval dedicated to adverse events to include the safety profile in the report.

6. Tax Compliance Assistant (Tax)

Use case: Assistant for managing Italian tax obligations. Answers questions about deadlines, reporting obligations, tax incentives, VAT, income tax, and other levies by drawing on sources from the Agenzia delle Entrate.

Flow Schema

Begin (conversational)

Categorize (IRPEF | VAT | IRES | IRAP | IMU | Incentives | Declarations | Other)

Retrieval (companyDocs + knowledgeBase + aeSources + legalSources, topK: 20)

LLM (writer, tax response with regulatory references)

Message (with AE and regulatory citations)

Components

ComponentNode IDFunction
BeginbeginTax query reception
Categorizecategorize_taxTax area classification
Retrievalretrieval_taxAdE circulars + tax regulations
LLMllm_responseResponse with regulations
Messagemessage_responseOutput with AdE sources

Data Sources

SourceEnabledContent
Company documentsYesFinancial statements, past declarations, F24 forms
Knowledge BaseYesInternal tax procedures, powers of attorney
AE SourcesYesCirculars, resolutions, rulings, practical guides from AdE
Legal SourcesYesTUIR (DPR 917/86), DPR 633/72 (VAT), D.Lgs. 241/97

Categorize Categories

CategoryDescriptionNotes
IRPEFPersonal income tax, 730, Unico PF, deductions-
VATVAT regime, settlements, refunds, flat-rate regime-
IRESCorporate income tax, Unico SC, tax consolidation-
IRAPRegional tax on productive activities-
IMUMunicipal property tax, calculation, deadlines-
IncentivesTax credits, bonuses, incentives, SEZ, Industry 5.0-
DeclarationsDeclaration deadlines, CU, electronic submissions-
OtherInheritances, registration, stamp duty, cadastre, disputesUse additional legalSources

Suggested System Prompt

You are a tax consultant expert in Italian taxation.
Respond with precision, updated in line with the most recent circulars.
Always cite: the law article or decree [N], the relevant AdE circular [N], operational deadlines.
Distinguish between primary legislation (law) and administrative practice (circulars, rulings).
Note if the subject is subject to frequent regulatory updates.
Always indicate that for significant tax decisions, the opinion of a qualified professional is required.

How to Customize

  • Switch after Categorize for specialized routing: different flows for IRPEF (individual) vs IRES (corporation), with optimized System Prompts.
  • Add deadline verification: insert a dedicated LLM node (planner, fast) that extracts relevant deadlines from context and presents them in a table.
  • Integrate accounting management system: use Invoke to retrieve company accounting data before responding on specific obligations.
  • Agent for complex calculations: for questions requiring calculations (e.g. "how much IRES advance payment do I owe?"), use an Agent node with access to accounting documents.

Template Comparison

TemplateSectorComplexityUserFillUpExternal Sources
Claim AnalysisInsuranceHighYesLegal
Regulatory SearchLegalLowNoLegal
Compliance CheckFoodMediumNoFood + Legal
SDS AnalysisChemicalMediumNoChem + Legal
Clinical TrialsPharmaceuticalMediumNoPharma
Tax ComplianceTaxMediumNoAE + Legal

Combining multiple templates

You can use Invoke to combine templates: for example a "Contract Analysis" Canvas that invokes both the "Regulatory Search" template (for legal clauses) and the "Tax Compliance" template (for the tax implications of the contract).


Queria v3.1.2 -- Canvas Agent Builder

Queria - Document Intelligence con Cog-RAG