# Write a deal post with AI — Product Templates Botize method — `producttemplates.write_deal_post` (action). Writes the pieces of a deal post (headline, intro, benefits, specs, verdict, social text and SEO fields) with the AI you connected to Botize (ChatGPT, Claude or Gemini). The prompt is fully visible and editable: it is sent exactly as you see it. Each key of the JSON it asks for becomes a tag. This is an action: it runs as a step of a task. Several can be chained. ## Fields you set The field's internal name, its type and the values it accepts. These fields accept `{{...}}` tags from earlier steps. - `mb_switch` *(boolean)* — Rules - `ai_connection` *(string)* — AI connection - `model` *(string)* — Model - `product_data` *(string)* — Product data - `language` *(string, one of: "auto" = Same as the product data; "es" = Spanish; "en" = English; "fr" = French; "it" = Italian; "de" = German; "pt" = Portuguese, default: "auto")* — Language - `tone` *(string, one of: "friendly" = Friendly and enthusiastic; "hype" = Bargain hunter (punchy); "neutral" = Informative; "formal" = Formal, default: "friendly")* — Tone - `length` *(string, one of: "short" = Short; "medium" = Medium; "long" = Long, default: "medium")* — Length - `benefits_count` *(string, one of: "2" = 2; "3" = 3; "4" = 4; "5" = 5; "6" = 6, default: "4")* — Number of benefits - `use_emojis` *(boolean, default: "1")* — Emojis in the social text - `include_specs` *(boolean, default: "1")* — Spec sheet - `include_social_text` *(boolean, default: "1")* — Social media text - `include_seo` *(boolean, default: "1")* — SEO fields - `extra_instructions` *(string)* — Extra instructions - `prompt` *(string)* — Prompt (sent exactly as written; if empty, made from the options) - `mb_outputvars_switch` *(boolean)* — Customize tags It also accepts repeatable field groups, with these prefixes: `mb_filters_*`. These are composite components (buttons, filters, keyboards); the trailing number is set by the user as they are added. ## Output variables Data this step makes available. Reference them in later steps with the double-brace tag. - `{{headline}}` *(text)* — Headline - `{{intro}}` *(text)* — Intro - `{{benefit_1_title}}` *(text)* — Benefit 1: title - `{{benefit_2_title}}` *(text)* — Benefit 2: title - `{{benefit_3_title}}` *(text)* — Benefit 3: title - `{{benefit_4_title}}` *(text)* — Benefit 4: title - `{{benefit_1_text}}` *(text)* — Benefit 1: text - `{{benefit_2_text}}` *(text)* — Benefit 2: text - `{{benefit_3_text}}` *(text)* — Benefit 3: text - `{{benefit_4_text}}` *(text)* — Benefit 4: text - `{{specs}}` *(text)* — Specs (one per line) - `{{specs_html}}` *(text)* — Specs (HTML table) - `{{verdict}}` *(text)* — Verdict - `{{social_text}}` *(text)* — Text for social media / Telegram - `{{seo_title}}` *(text)* — SEO title - `{{meta_description}}` *(text)* — Meta description - `{{focus_keyword}}` *(text)* — Focus keyword - `{{text_response}}` *(text)* — Full AI answer - `{{ai}}` *(text)* — AI used - `{{model}}` *(text)* — Model used - `{{finish_reason}}` *(text)* — Finish reason - `{{prompt_tokens}}` *(int)* — Prompt tokens - `{{completion_tokens}}` *(int)* — Completion tokens - `{{total_tokens}}` *(int)* — Total tokens ## This app Every trigger and action for Product Templates: https://botize.com/en/app/producttemplates.md ## How to build this An AI assistant (Claude, ChatGPT, Cursor…) can create and edit these tasks in the user's account through the Botize MCP connector, included in every plan: https://webhook.botize.es/mcp - Connection guide: https://botize.com/en/mcp - Agent map: https://botize.com/llms.txt - New account: https://botize.com/en/join (500 free operations, no card) --- Machine-readable summary for AI assistants. Human version: https://botize.com/en/method/producttemplates/write_deal_post