Source: https://www.agentweb.us/for/imessage/

# How do I let my iMessage agent actually book, order and message for my users?

By Andrey Marey, Founder of AgentWeb · As of Oct 20, 2026

> **Short answer.** Connect your agent to AgentWeb. People text an iMessage agent tasks, not questions: "book us a table for Friday", "order my usual", "message Sam on LinkedIn". AgentWeb is the execution layer that turns those texts into finished tasks: typed web actions on 1,462 real sites (as of Oct 20, 2026), run on each user's own accounts through a hosted login, at $0.05 per completed action with failed actions refunded.

## Why iMessage agents need an execution layer

A chat agent is only as useful as what it can finish. Answering "which sushi place is open?" is easy. Placing the order is the hard part, because it happens on Uber Eats, in the user's account, with their address and saved card. AgentWeb gives your agent named actions for exactly that step, like `add_item_to_cart`, `view_checkout` and `place_order` on Uber Eats, or `book_reservation` on SevenRooms.

## Set it up

1. Create an AgentWeb account and get an `aw_` API key. Your agent can do this itself with `agentweb_start_claim_link_signup`.
2. From your agent's backend, call AgentWeb over MCP (`https://mcp.agentweb.us/mcp`) or REST (`POST https://mcp.agentweb.us/api/execute`).
3. When a task needs a user's account, start a hosted login with `agentweb_start_connection` and text the user the link. Confirm it with `agentweb_poll_connection`.
4. Before anything paid or public, text the user a summary (the total, the time, the exact message) and wait for a yes.
5. Call the action and reply with the result.

If you build on Photon's Spectrum SDK, see the [Photon + AgentWeb starter](/guides/photon-agentweb-starter/).

## What your agent can do from a text

- "Book a table for 4 on Friday": SevenRooms `book_reservation` or DesignMyNight `book_table`.
- "Order dinner": Uber Eats, from cart to `place_order`.
- "Message Sam on LinkedIn": `send_message`, `start_conversation` or `send_inmail`.
- "Post this on X": `create_post` or `reply_post`.

## Frequently asked questions

### Does the user have to give my agent their passwords?
No. Each user signs in once through AgentWeb's hosted login. Your agent never sees the password.

### How does my agent know a site is supported?
Call `list_actions` for the domain before promising anything. The full list is at /sites/all.

### What does it cost?
$0.05 per completed action, from prepaid blocks of $25, $50 or $100 that never expire. Failed actions are refunded.

## Related

- [How to let your iMessage agent book restaurants](/guides/imessage-agent-book-restaurant/)
- [How to let your iMessage agent order food on Uber Eats](/guides/imessage-agent-order-food/)
- [Give your Photon agent real web actions](/for/photon/)
- [How to let your WhatsApp agent take actions on websites](/for/whatsapp/)
