# Reply-to-DM Campaign

> DM the people who replied to one of your posts.

Source: https://docs.xholic.ai/playbooks/reply-to-dm-campaign/

Read by connected AIs with `get_playbook` and id `reply-to-dm-campaign`.

DM the people who replied to one of your posts.

Use for messaging the people who replied to one of their posts. Not for a DM to one person.

**The user might say:** "Draft a short, personal DM for the people who replied to this post asking for what I offered, and tell me how to send it from Direct Messages: [post link]"

## Steps

1. The people who replied to the post, and who can be messaged. Call `dm.preview_recipients` (through run_write_action) with `{"type":"FROM_TWEET","tweetUrl":"<post","includeReplies":true}`.
2. Write the short, personal DM yourself.
3. Only when the user asks to send: create a draft campaign, set its steps, review it, show the outreach guidelines, and launch after they accept. Call `create_dm_campaign` with `{"name":"<name>","deliveryMode":"ASSISTED"}`.
4. Then `dm.update_campaign` (through run_write_action), `dm.review_campaign` (through run_read_action) with {"id":"<id>"} and `launch_dm_campaign` with {"id":"<id>","confirmedConsent":true}.
