1. Understanding agents

Email writer

The Email Writer is an agent for creating on-brand email content for campaigns, lifecycle communications, and promotional messages, generating structured emails optimized for engagement and conversions.

After you describe the email you want to create, the agent:

  • Analyzes the purpose, audience, and key messages.

  • Generates clear, engaging email content aligned with your goals.

When to use

Use the Email Writer for the following business scenarios:

  • Creating campaign or promotional emails.

  • Drafting customer lifecycle or nurture emails.

  • Accelerating email creation while staying on brand.

Edit the configuration

Before running this agent, review and update its configuration to control how it generates content.

The configuration determines what the agent produces and how it behaves, so you can align it with your brand, audience, and use case.

Before you begin

Make sure you have a Builder License assigned to your user account. This license is required to edit agents.

To edit the configuration:

  1. In the navigation menu, click Agentic. Then, in the left sidebar, select Agents.

  2. On the Agents page, find Email Writer.

  3. Click the actions menu > Edit.

  4. Review and configure the tabs:

    • Overview - view the agent's basic information, how it works, and inputs required to run it. This tab is read-only.

    • Parameters - define guidance that shapes how content is generated. For example, you can specify target audiences, channels, languages, and formats.

    • Schemas - define structured JSON output formats. For example, you can add schemas for blog posts, email content, or social media posts.

    • HTML Templates - define how generated content is formatted and displayed in previews. Templates typically correspond to the defined schemas.

    • Workflow - view the agent’s execution workflow, including all processing steps. This tab is read-only.

  5. Click Save Changes. Return to the Agents page and run the agent.

Run the agent

Use the Email Writer to generate an email from a user-provided topic.

To run the agent:

  1. In the navigation menu, click Agentic. Then, in the left sidebar, select Agents.

  2. On the Agents page, find Email Writer.

  3. Enter a Space Title for the run.

    In the Agents section, the selected agent is added by default.

  4. Provide the required input:

    • Email Description - describe the email you want to write about.

      Example: Summer Holiday Promo Launch for New Cosmetics Line

  5. Optionally, provide the following:

    • Context - provide additional background that guides how the AI generates responses. Click Add context to include:

      • Artifacts - use any artifacts previously generated in the current space.

      • Brand kits - select your organization's brand kit.

    • Supporting files - click Browse to upload supported files related to your request.

  6. Click Create.

  7. The new space created for the run opens. Click Run to start the agent.

    Tip

    Processing might take some time. You can leave the page and return to the space at any time to track progress.

    When processing is complete, the results appear in the space.

    Important

    Always review AI-generated artifacts carefully and validate key information before using them.

    To learn more about what’s included in a space, see View a space.

If you have suggestions for improving this article, let us know!