Recued
Menu
← Back to recipes

Compliance Filing Validator

by recued-core v3 39 views

Use “Compliance Filing Validator” in Recued. Validates state-specific compliance filings against regulatory requirements.

How it works 16 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (16 steps)
◆ activities recued-core.hubspot.engagement.list
List engagement on hubspot
■ activities_flat map
Extract from each item
■ notes filter
Filter by condition
■ sorted_notes sort
Sort by
■ filing_text coalesce
Use the first available value from: sorted notes 0 body,
⚠ validate_filing_text guard
Stop if filing text is empty
✦ extract_state core.ai.extract
AI extracts structured fields from data
■ state_trimmed trim
Trim whitespace from extract state property state
■ property_state uppercase
Convert state trimmed to uppercase
■ state_requirements switch
Map property state to one of: CA
■ required_disclosures_str join
Join items with ", "
✦ extracted_fields core.ai.prompt
AI generates a response from a custom prompt
■ dates_missing any
Check if any of the conditions are true
■ days_to_file date_diff
Calculate days between extracted fields transaction date and extracted fields filing date
skip: step.dates_missing equal true
■ deadline_issue any
Check if any of the conditions are true
■ compliance_checklist to_checklist
Format results as an actionable checklist
▼
Output
checklist compliance_checklist
Settings 1 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

state filing requirements setting = [object Object]

Uses (3 operations)

Pack operation List engagement on hubspot recued-core.hubspot.engagement.list
AI models AI extracts structured fields from data core.ai.extract
AI models AI generates a response from a custom prompt core.ai.prompt

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

What it's allowed to do

Read AI models core.ai.extract read-only
Read AI models core.ai.prompt read-only

1 more isn't listed here. You'll see it at install.

Data it touches

SurfacesAI models

About

Tags

hubspot compliancefilingregulatoryhubspotreal_estatevalidationdisclosure

Details

16 steps 1 configurable settings recipe_id: validate-compliance-filing-hubspot