Skip to main content

Overview

Seed files define the initial state of a Slack workspace. They’re JSON files that specify users, channels, messages, and other data.

Quick Reference: slack_default

The most commonly used template. Here’s what’s inside:
Use U01AGENBOT9 as your impersonateUserId - this is the agent’s identity.

Seed File Location

Seeds are stored in examples/slack/seeds/:

Schema

Users

Channels

Channel Members

Messages

Reactions

Complete Example

Creating a Custom Template

  1. Create your seed file in examples/slack/seeds/my_seed.json
  2. Register the template:
  1. Use your template:

Tips

ID Format: Follow Slack’s ID conventions:
  • Users: U + 10 alphanumeric (e.g., U01AGENBOT9)
  • Channels: C + 10 alphanumeric (e.g., C01GENERAL99)
  • Messages: Unix timestamp with microseconds (e.g., 1732645800.000100)
Member Requirements: Users must be members of a channel to post messages or add reactions. Always include corresponding channel_members entries.

Next Steps

Slack Overview

Supported API endpoints

Linear Seeds

Create Linear seed data