# Closing: Your New Workflow You started this book clicking through UIs. You're ending it with a new way of working. ## What You've Learned ```mermaid flowchart LR A[Describe] --> B[AI Generates] B --> C[Review] C --> D[Validate] D --> E[Push] ``` This simple loop now powers everything you do: | Chapter | What You Can Do | | --- | --- | | [1](/treasure-code/book/01-new-paradigm)-[2](/treasure-code/book/02-claude-code) | Understand the paradigm shift | | [3](/treasure-code/book/03-ai-setup)-[4](/treasure-code/book/04-understanding-yaml) | Set up tdx, Claude Code, and read YAML | | [5](/treasure-code/book/05-customer-data)-[7](/treasure-code/book/07-writing-queries) | Explore data and write SQL with AI | | [8](/treasure-code/book/08-first-segment)-[10](/treasure-code/book/10-activations) | Build segments and connect to channels | | [11](/treasure-code/book/11-first-journey)-[12](/treasure-code/book/12-journey-logic) | Create journeys with logic and branches | | [13](/treasure-code/book/13-workflows) | Automate with workflows | | [14](/treasure-code/book/14-agents) | Building AI Agents for your team | | [15](/treasure-code/book/15-review-deploy) | Deploy safely with validation | | [16](/treasure-code/book/16-version-control)-[17](/treasure-code/book/17-github-workflows) | Collaborate with Git and GitHub | ## The Shift **Before:** 47 clicks to create a segment. Undocumented. Unrepeatable. AI couldn't help. **After:** One conversation with AI. A [YAML](https://yaml.org) file you can read, copy, track, and share. Version-controlled with [Git](https://git-scm.com). Reviewable. Scalable. You didn't become an engineer. You became a marketer who can leverage engineering tools—with AI handling the syntax. ## Your Daily Workflow ```bash # Start your AI partner tdx claude # Work with AI > "Create a segment for customers who..." > "Build a journey that..." > "Write a workflow to..." # Review what AI generates > "Explain this YAML" > "Preview the segment" # Deploy safely > "Validate and push" ``` ## Keep Learning **Practice:** Start with simple segments. Add complexity gradually. Let AI help you explore what's possible. **Review:** When AI generates something unfamiliar, ask it to explain. Understanding grows with each conversation. **Iterate:** Your first attempt won't be perfect. That's fine. Fix and push again. With Git, you can always go back. ## Resources - [tdx Documentation](/treasure-code/book) — Command reference and guides - [Marketing as Code Guide](/treasure-code/guide/marketing-as-code) — Technical deep-dive - [TD Skills Reference](/treasure-code/guide/td-skills) — AI skills for Treasure Data - [References](/treasure-code/book/appendix-references) — External links to Claude Code, Git, and more ## Final Thought Marketing as Code isn't about replacing your expertise. It's about amplifying it. You know your customers. You understand the business. AI handles the syntax, the formatting, the technical details. Together, you can build campaigns that would have taken weeks—in hours. The tools are ready. Your AI partner is waiting. ```bash tdx claude ``` *Welcome to AI-Native Marketing.*