Recued
Menu
← Back to recipes

Renewal Price Increase Draft

by recued-core v2 43 views

Use “Renewal Price Increase Draft” in Recued. Generates price increase email draft with AI (toggle via enableai). Includes calculated increase %, configurable value justifications, and restored customer name.

How it works 12 steps

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

Data fetch
▼ deal recued-core.hubspot.deal.read
Read deal on hubspot
▼ contacts recued-core.hubspot.deal_contacts.list
List deal contacts on hubspot
▼
Process (10 steps)
⚠ guard_missing_deal guard
Stop if deal result properties is empty
⚠ guard_null_contract_value guard
Stop if deal result properties current contract value is missing
⚠ guard_non_positive_contract_value guard
Stop if deal result properties current contract value is at most
⚠ guard_null_proposed_price guard
Stop if deal result properties proposed price is missing
■ increase_pct math
Calculate: ({{step.deal.result.properties.proposed_price}} - {{step.deal.result.properties.current_contract_value}}) / {{step.deal.result.properties.current_contract_value}} * 100
⚠ guard_negative_increase guard
Stop if increase pct is less than
■ customer_name coalesce
Use the first available value from: contacts 0 company, Valued Customer
■ ai_input pick
Keep only specific fields from
✦ email_draft core.ai.generate
AI generates content from a template
skip: config.enable_ai equal false
■ final_output coalesce
Use the first available value from: email draft content, AI generation disabled. Enable 'enable_ai' to generate personalized draft.
▼
Output
text final_output
Settings 2 configurable

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

enable ai toggle = on
value wins choice = Reliability (Reliability, Dedicated support, Feature X)

Uses (3 operations)

Pack operation Read deal on hubspot recued-core.hubspot.deal.read
Pack operation List deal contacts on hubspot recued-core.hubspot.deal_contacts.list
AI models AI generates content from a template core.ai.generate

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.generate read-only

2 more aren't listed here. You'll see them at install.

Data it touches

SurfacesAI models

About

Tags

hubspot renewalpricingemailhubspotdeal

Details

12 steps 2 configurable settings recipe_id: compute-price-increase-draft-hubspot