

--
-- Data for Name: agent_types; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.agent_types (id, name, display_name, base_system_prompt, description, icon, created_at, updated_at) FROM stdin;
13	sales	Sales	\N	Outbound sales agent that prospects, researches, drafts, and nurtures.	sales	2026-06-01 16:08:10	2026-06-01 16:08:10
\.


--
-- Data for Name: companies; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.companies (id, name, slug, logo_url, website, settings, data_retention_days, is_active, deleted_at, created_at, updated_at) FROM stdin;
14	Mail Blaze	mailblaze	\N	\N	{}	365	t	\N	2026-05-29 09:42:54	2026-06-01 16:08:06
\.


--
-- Data for Name: agents; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.agents (id, company_id, agent_type_id, name, custom_system_prompt, default_model, temperature, max_tokens, status, token_budget_daily_usd, spend_today_usd, metadata, deleted_at, created_at, updated_at, prospect_window_start_hour, prospect_window_end_hour, prospect_per_hour, prospect_timezone, prospect_days, merge_tags) FROM stdin;
14	14	13	Sales Agent - Apollo		anthropic/claude-sonnet-4.6	0.7	1000	draft	25.00	0.2060	{"goal": "demo or trial signup, then hand off to human"}	\N	2026-06-01 16:08:10	2026-06-08 14:40:31	7	15	6	Africa/Johannesburg	[1,2,3,4,5]	\N
\.


--
-- Data for Name: skills; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.skills (id, name, slug, description, skill_type, prompt_instructions, scope, company_id, model_override, version, is_active, deleted_at, created_at, updated_at) FROM stdin;
1	Pipedrive Dedup	pipedrive-dedup	\N	tool	\N	global	\N	\N	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
2	ICP Matcher	icp-matcher	\N	evaluator	\N	global	\N	cheap	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
3	Apollo Enrich	apollo-enrich	\N	tool	\N	global	\N	\N	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
4	Pipedrive Create Lead	pipedrive-create-lead	\N	tool	\N	global	\N	\N	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
5	Email Drafter	email-drafter	\N	transformer	\N	global	\N	default	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
6	Humanizer	humanizer	\N	transformer	\N	global	\N	default	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
7	Tone Adjuster (brand voice)	tone-adjuster	\N	transformer	\N	global	\N	default	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
8	Brand / Compliance Checker	brand-compliance	\N	evaluator	\N	global	\N	cheap	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
9	Subject Line Optimizer	subject-optimizer	\N	transformer	\N	global	\N	cheap	1	t	\N	2026-06-01 16:08:10	2026-06-01 16:08:10
10	ICP Context	icp-context	\N	context	\N	global	\N	\N	1	t	\N	2026-06-03 10:38:48	2026-06-03 10:38:48
11	Buyer Persona Context	ibp-context	\N	context	\N	global	\N	\N	1	t	\N	2026-06-03 10:46:25	2026-06-03 10:46:25
12	Compliance Footer (opt-out)	compliance-footer	\N	transformer	\N	global	\N	\N	1	t	\N	2026-06-03 11:01:15	2026-06-03 11:01:15
13	Sequence Step Context	sequence-context	\N	context	\N	global	\N	\N	1	t	\N	2026-06-03 11:31:15	2026-06-03 11:31:15
14	Brand Voice	brand-voice	\N	context	Warm, direct, and human — like a knowledgeable peer, not a marketer. Short sentences, plain English, no hype or buzzwords. Confident but never pushy. Lead with the prospect's situation, not our features. Avoid exclamation marks and AI-sounding phrasing.	global	\N	\N	1	t	\N	2026-06-03 11:54:03	2026-06-03 11:54:03
15	humanizer	humanizer-test	Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive "Signs of AI writing" guide. Detects and fixes patterns including:\ninflated symbolism, promotional language, superficial -ing analyses, vague\nattributions, em dash overuse, rule of three, AI vocabulary words, passive\nvoice, negative parallelisms, and filler phrases.\n	transformer	\N	company	14	\N	1	t	2026-06-04 08:05:48	2026-06-04 08:05:48	2026-06-04 08:05:48
16	cold-email	cold-email	Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, personalization, and multi-touch follow-up sequences. For warm/lifecycle email sequences, see emails. For sales collateral beyond emails, see sales-enablement.	transformer	\N	company	14	\N	1	t	\N	2026-06-04 08:09:46	2026-06-04 08:09:46
\.


--
-- Data for Name: agent_skills; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.agent_skills (id, agent_id, skill_id, execution_order, is_enabled, config, created_at, updated_at) FROM stdin;
10	14	10	0	t	[]	2026-06-03 10:38:48	2026-06-03 10:38:48
11	14	11	1	t	[]	2026-06-03 10:46:25	2026-06-03 10:46:25
13	14	13	2	t	[]	2026-06-03 11:31:15	2026-06-03 11:31:15
14	14	14	3	t	{"label": "Brand voice"}	2026-06-03 11:54:03	2026-06-03 11:54:03
1	14	1	4	t	{"recent_contact_days": 30}	2026-06-01 16:08:10	2026-06-03 11:54:03
2	14	2	5	t	{"threshold": 7}	2026-06-01 16:08:10	2026-06-03 11:54:03
3	14	3	6	t	[]	2026-06-01 16:08:10	2026-06-03 11:54:03
4	14	4	7	t	[]	2026-06-01 16:08:10	2026-06-03 11:54:03
5	14	5	8	t	[]	2026-06-01 16:08:10	2026-06-03 11:54:03
9	14	9	14	t	[]	2026-06-01 16:08:10	2026-06-04 08:16:03
8	14	8	13	t	[]	2026-06-01 16:08:10	2026-06-04 08:16:08
12	14	12	12	t	[]	2026-06-03 11:01:15	2026-06-04 08:16:10
7	14	7	11	t	[]	2026-06-01 16:08:10	2026-06-04 08:16:11
15	14	16	9	t	[]	2026-06-04 08:16:01	2026-06-04 08:16:12
6	14	6	10	t	[]	2026-06-01 16:08:10	2026-06-04 08:16:12
\.


--
-- Data for Name: icps; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.icps (id, company_id, name, description, industries, company_sizes, geographies, job_titles, pain_points, disqualifiers, tam_description, ibp_description, created_at, updated_at) FROM stdin;
1	14	Mailblaze ICP v1	Big list, low procurement friction, emerging markets, wants human (not bot/AI) help, low integration burden, POPI-style compliance, and annoyed with service/cost/support/payment issues. Needs a simple email-only solution (campaign, transactional, or automated) — not a full CRM or omnichannel suite.	["Gambling / iGaming / sports betting", "Online course platforms / EdTech", "NGOs / non-profits", "Retail chains (fashion, beauty, pharmacy, electronics)", "Ecommerce", "Quick-service restaurants (QSR)", "Ticketing platforms"]	["Under R250m annual revenue", "150k+ customers/subscribers they want to contact"]	["South Africa", "Africa", "South America", "Eastern Europe", "Taiwan", "Vietnam"]	["Marketing Manager", "Head of Marketing", "Director of Marketing", "CMO", "VP of Marketing", "Chief Brand Officer", "Digital Marketing Manager", "CTO", "VP Product", "Technical Director", "Solutions Architect", "Technical Product Manager", "Product Manager", "Lead Product Manager", "Owner", "Founder", "Co-Founder", "Managing Director", "Entrepreneur", "President", "CEO"]	["Dissatisfied with current platform service, cost, support, or payment challenges", "Bot-only / AI-first support — wants real humans who understand email marketing", "Platform lock-in and fear migration will break things or take too long", "Poor deliverability insight and low open/engagement rates", "Marketing too generic — cannot personalise enough, customers do not feel seen", "Customers drop off after the first interaction; weak retention and brand loyalty", "Expensive, low-impact paid acquisition; wants a direct channel they own", "Cumbersome day-to-day platform management; engineers pulled into firefighting", "No expert guidance available to improve results"]	["Has a formalised procurement process", "Needs a full CRM / omnichannel suite rather than email only", "Requires complex custom integration work on our side to onboard", "Enterprise scale / over R250m revenue", "Already on Mailblaze", "Not a legitimate company"]	Emerging-market businesses (SA, Africa, South America, Eastern Europe, Taiwan, Vietnam) under R250m revenue with 150k+ subscribers, low procurement friction and low integration burden, needing a simple email solution and human support — concentrated in gambling, EdTech, NGOs, retail chains, QSR and ticketing.	Three personas: (1) Marketing Manager / CMO — fights platform lock-in, must prove ROI, juggles fragmented tools; values straightforward tools and fast decisions. (2) Lead / Technical Product Manager — cumbersome platform, non-existent support, needs reliable customer insights and to "do it once, properly". (3) Owner / Founder — limited time and cash, no structured marketing process, wants a trustworthy brand and predictable growth without another job on their plate.	2026-06-01 16:08:10	2026-06-03 10:38:48
\.


--
-- Data for Name: buyer_personas; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.buyer_personas (id, company_id, icp_id, name, description, job_titles, pain_points, worries, goals, motivations, value_statement, problem_hypothesis, created_at, updated_at) FROM stdin;
1	14	1	Marketing Manager / CMO	Owns email + marketing execution at a 10-200 person business; pressured to prove ROI and move fast.	["Marketing Manager", "Head of Marketing", "Director of Marketing", "CMO", "VP of Marketing", "Chief Brand Officer", "Digital Marketing Manager"]	["Current platform lock-in", "Integration complexity with website, analytics and other tools", "Platform limits where they can spend marketing budget", "Constant pressure to produce fresh content and campaigns", "Hard to prove ROI across fragmented tools"]	["Migration might harm performance or take too long", "Campaigns failing or underperforming", "Missing targets/KPIs and being seen as ineffective"]	["Improve efficiency through automation and simpler workflows", "Run measurable campaigns with clear ROI", "Become a strategic contributor to growth"]	["Likes things straightforward and to make decisions quickly", "Recognition from leadership", "Tools that make them more efficient"]	Mail Blaze helps you get out of platform lock-in without the stress of "what if we break everything": a fast, guided move, easy connections to your website and reporting, and real humans on chat/phone so you are never left stuck while campaigns are on the line. With automation and AI help that takes the busywork off your plate, plus transparent monthly or pay-as-you-go pricing, you can move faster and spend your budget on growth — not on tools.	Severely struggles with platform lock-in, proving ROI, and running email with fragmented tools and limited time, which costs time, money and KPI/credibility risk, and is a high enough priority that they are actively trying to fix it.	2026-06-03 10:46:25	2026-06-03 10:46:25
2	14	1	Lead / Technical Product Manager	Owns the customer messaging/email platform technically; wants to do it once, properly.	["CTO", "VP Product", "Technical Director", "Solutions Architect", "Technical Product Manager", "Product Manager", "Lead Product Manager"]	["Managing the current platform is cumbersome", "Support is non-existent", "Coordinating across engineering, marketing and leadership", "Lack of clean, reliable customer insights", "Technical debt and limited engineering capacity"]	["Product adoption and churn", "Major releases delayed or buggy", "Stakeholders losing confidence in the product", "Whether the deployment will be stable and reliable"]	["Increase product adoption and retention", "Ship reliable customer communication once, correctly", "Improve cross-team communication"]	["Wants to do things once, properly", "Data-driven decisions", "Tools that reduce complexity and improve visibility"]	Mail Blaze takes the pain out of running your messaging platform: less day-to-day hassle, real human support when things break, and a setup that keeps engineering, marketing and leadership aligned instead of constantly firefighting. So you can do it once — ship reliable customer communication that boosts adoption and retention, reduces churn, and avoids endless rework or "who owns this?" chaos.	Severely struggles to keep the messaging platform reliable and maintainable with non-existent support, clean insights, and cross-team prioritisation under tech debt — costing engineering time, money and release/adoption risk — and is actively trying to fix it.	2026-06-03 10:46:25	2026-06-03 10:46:25
3	14	1	Owner / Founder	Wears every hat; needs predictable growth without adding another job.	["Owner", "Founder", "Co-Founder", "Managing Director", "Entrepreneur", "President", "CEO", "Business Owner"]	["Limited time and wearing too many hats", "Cash flow and budget constraints", "Inconsistent customer acquisition", "No structured marketing or sales process", "Hard to scale or delegate"]	["Cash flow shortages / financial instability", "Making the wrong investments", "Competitors outperforming them", "The allocated employee not using the tools well"]	["Establish a strong, trustworthy brand", "Streamline operations and free up personal time", "Grow revenue steadily and predictably", "Create repeatable lead/revenue systems"]	["Tools that save time and money", "Financial freedom and stability", "Feeling in control rather than overwhelmed"]	Mail Blaze helps you build a trustworthy brand without adding another job to your plate — your customer messages run reliably, with automation that keeps communication consistent even when you are wearing every hat. With transparent pricing and a faster path to value, you protect cash flow and confidence in your choices, freeing up time and budget for the work that actually grows the business.	Severely struggles to build predictable growth with limited time, tight cash flow and no repeatable marketing system — especially a cost-effective way to stay in contact and retain customers — costing time, money and the risk of wrong investments, and is actively trying to fix it.	2026-06-03 10:46:25	2026-06-03 10:46:25
\.


--
-- Data for Name: playground_scenarios; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.playground_scenarios (id, company_id, agent_id, name, config, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: sequences; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.sequences (id, company_id, agent_id, name, is_active, created_at, updated_at, description, is_default, trigger_intent) FROM stdin;
1	14	14	Default outbound cadence	t	2026-06-01 16:08:10	2026-06-05 11:13:21	\N	t	\N
2	14	14	Interested Reply - cadence	t	2026-06-05 10:18:55	2026-06-05 12:40:17	\N	f	interested
\.


--
-- Data for Name: sequence_steps; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.sequence_steps (id, sequence_id, step_order, delay_days, channel, template_ref, requires_approval, stop_on_reply, created_at, updated_at, intent, skill_id, delay_hours, mailblaze_template_id) FROM stdin;
1	1	1	4	email	sales.followup-1	t	t	2026-06-01 16:08:10	2026-06-01 16:08:10	\N	\N	0	\N
2	1	2	9	email	sales.social-proof	t	t	2026-06-01 16:08:10	2026-06-01 16:08:10	\N	\N	0	\N
3	1	3	16	email	sales.trial-cta	t	t	2026-06-01 16:08:10	2026-06-01 16:08:10	\N	\N	0	\N
4	1	4	21	newsletter	sales.newsletter-add	f	t	2026-06-01 16:08:10	2026-06-01 16:08:10	\N	\N	0	\N
5	1	5	30	email	sales.breakup	t	t	2026-06-01 16:08:10	2026-06-01 16:08:10	\N	\N	0	\N
8	2	1	7	email	\N	t	t	2026-06-05 12:40:19	2026-06-05 12:40:19	\N	\N	0	\N
\.


--
-- Data for Name: skill_versions; Type: TABLE DATA; Schema: public; Owner: -
--

COPY public.skill_versions (id, skill_id, version, prompt_instructions, created_by, created_at, updated_at) FROM stdin;
\.
