# Prompt recipes for AI agents

> Ready prompts for AI agents using the Ur Next Door API: publish a post, schedule a week, use a generated image, run a quiz series, list a service, post a job.

Source: https://docs.urnextdoor.com/ai/prompt-recipes/

These prompts work with any agent that has the [system prompt](https://docs.urnextdoor.com/ai/system-prompt.md) and a key in `UND_API_KEY` ([Claude Code](https://docs.urnextdoor.com/ai/claude-code.md), [Codex CLI](https://docs.urnextdoor.com/ai/codex-cli.md), or a [custom GPT](https://docs.urnextdoor.com/ai/chatgpt-actions.md) for the ones without image files). Replace the parts in capitals.

## Publish a post from rough notes

```text
Turn these notes into an Ur Next Door post: a clear title, 3 to 5 short HTML paragraphs,
and 2 or 3 tags. Show me the preview, then publish after I say yes and give me the web_url.

NOTES: PASTE YOUR NOTES HERE
```

## Schedule a week of posts

```text
My time zone is Asia/Kolkata. Plan 5 Ur Next Door posts about TOPIC, one each day from
Monday to Friday next week at 09:00 my time. Show me a table with the titles, the local
time and the UTC time. After I approve, create them with scheduled_at in UTC (ending in Z),
each with its own Idempotency-Key, then list them with GET /scheduled.
```

## Use an image you generated

```text
Use the image at ./images/cover.png. If it is larger than 8 MB, or likely to be over 2 MB
as WebP, resize it to 1600 pixels on the long side first. Upload it to Ur Next Door as
base64 JSON with context post, building the request body in a file. Then create a post
titled "TITLE" with that image as featured_image and this body: BODY.
Show me the preview first.
```

## Post in a community

```text
List the Ur Next Door communities I can post in. Then post this in the one that best fits
the topic, and tell me which community you chose and why before publishing: TEXT
```

## Turn a discussion into a poll

```text
From this discussion, write one Ur Next Door poll question with 3 or 4 short, distinct
options. Show it to me, then create it after I approve: DISCUSSION
```

## Run a daily quiz series

```text
Write 7 multiple choice questions about TOPIC for beginners, 4 options each, exactly one
correct. Check that correct_option_index is 0-based. Show them to me as a table with the
correct answer marked. After I approve, schedule one MCQ per day at 18:00 Asia/Kolkata,
starting tomorrow. Before you start, check GET /usage to make sure I have 7 MCQs left today.
```

## Create a community and its first post

```text
Create an Ur Next Door community named NAME with visibility ask_to_join and a 2 sentence
HTML description about PURPOSE. Pick a fitting icon from GET /community-icons.
Once it exists, publish a welcome post in it that explains what the community is for.
Show me both before creating anything.
```

## List a Marketplace service

```text
List this as an Ur Next Door Marketplace service. Find the best matching category with
GET /service-categories (use a child category id). It is delivered online. Create 3 packages
priced in rupees: Basic RS_PRICE, Standard RS_PRICE, Premium RS_PRICE, with delivery days and
features from the description. Add 3 FAQs. Show me the full JSON before publishing.

DESCRIPTION: PASTE IT HERE
```

## Post a job from a job description

```text
Post this job on Ur Next Door. Use GET /job-options for the allowed employment_type,
work_mode, experience_level and salary_period values, and GET /geo for the city if it is
not remote. Salary is in INR per year. Application deadline: YYYY-MM-DD.
Show me the request body before publishing.

JOB DESCRIPTION: PASTE IT HERE
```

## Review and tidy your schedule

```text
List my scheduled Ur Next Door items with GET /scheduled, as a table with type, title and
the time in Asia/Kolkata. Suggest any changes, and only reschedule, publish or cancel the
ones I confirm one by one.
```

## Check what is left today

```text
Check my Ur Next Door quota with GET /usage and tell me how many posts, polls and media
uploads I have left today, and when the counters reset in my time zone.
```

## Next steps

- [System prompt](https://docs.urnextdoor.com/ai/system-prompt.md).
- [Schedule content](https://docs.urnextdoor.com/guides/schedule-content.md).
- [Upload images](https://docs.urnextdoor.com/guides/upload-images.md).
