Recued
← Back to recipes

Campaign Performance Analyzer

by recued-core v1 action

Analyzes campaign performance by type, calculates ROI and conversion metrics, and generates AI-powered optimization recommendations per campaign type.

How it works

Data fetch
campaigns campaign-list-reader-hubspot
Fetch list reader from hubspot
Process (10 steps)
check_data guard
Stop if campaigns is empty
valid_campaigns filter
Filter by condition
type_stats group_by
Group by campaign_type
enriched_types map
Extract from each item
metrics_table to_table
Format results as a data table
should_ai all
Check if all conditions are true
ai_input pick
Keep only specific fields from
skip: step.should_ai equal false
hashed_input hash_replace
Anonymize sensitive fields for safe AI processing
skip: step.should_ai equal false
recommendations ai-prompt
AI generates a response from a custom prompt
skip: step.should_ai equal false
restored_recommendations hash_restore
Restore anonymized fields back to real values
skip: step.should_ai equal false
Output
table metrics_table
ai_analysis restored_recommendations

Settings (3)

Configurable at install. Defaults shown — change anytime in the extension.

enable ai toggle = on
lookback days number = 30
min spend threshold number = 100

Tags

hubspot campaignhubspotroiconversion

Details

11 steps 3 configurable settings recipe_id: analyze-campaign-performance-hubspot

Install

Install in Recued View publisher Open Kitchen

If the webclient is not paired yet, copy analyze-campaign-performance-hubspot and paste it after pairing.