在其他应用里用你的列表
Let Zapier, Make or your own script add items to a list, with an API key limited to your site. Page Lemon stays the one place your list lives.
最后更新: · 查看 Markdown 版
对 AI 这样说
复制到 AI 对话里
怎么用 Zapier 把 Google 表格里的新行加到我的活动列表里?Your AI explains the steps. Making the key is done by you in the app.
先准备好这些
- 网站保存在你的 Page Lemon 账号下,列表也已建好。
- An API key for that one site that can change its lists.
- An account with the tool you connect, such as Zapier or Make.
It's one-way: what you type into your sheet comes to Page Lemon only when the tool you connect sends it.
Zapier:把表格的一行加进列表
- 创建一个 Zap,触发条件选 Google Sheets → New Spreadsheet Row。
- 添加动作 Webhooks by Zapier → Custom Request。
- Method:POST。URL:
https://api.pagelemon.com/v2/sites/your-site/lists/events/items,填上你的网站名称和列表名称。 - Data:
{"values": {"name": "…", "date": "…"}},把省略号换成表格的各列(Name、Date)。冒号前的每个名称,对应你列表里的一列。 - Headers:
Authorizationwith the valueBearerfollowed by your key, andContent-Typewithapplication/json. - Test it: the item appears in your list, and on your site if a page shows the list.
Make
Use the HTTP → Make a request module: the same URL, method POST, a header Authorization: Bearer <your key>, body type Raw, content type JSON, and the same body as above.
开发者
curl -X POST https://api.pagelemon.com/v2/sites/maison-cafe/lists/menu/items \
-H "Authorization: Bearer plak_..." \
-H "Content-Type: application/json" \
-d '{"values": {"name": "Leek and potato soup", "price": 6.5}}'Reading works the same with GET on /v2/sites/<site>/lists/<list>/items, and items:batch-create adds up to 100 at once. The full list of addresses is in the REST API reference and the guide for AIs.
安全放心
- Treat the key like a password: never put it in your site's files, a chat or a shared document.
- Give each tool its own key, limited to the one site, so you can revoke them one at a time.
须知
- 你连接的工具不归 Page Lemon 运营。用哪个由你选,各自的条款和隐私政策适用。详见隐私与你的数据。
给 AI 助手:设置指南见 pagelemon.com/agents/lists。