在其他 App 使用你的清單

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:把試算表的列加到清單

  1. 建立 Zap,觸發條件選 Google Sheets → New Spreadsheet Row。
  2. 加入動作 Webhooks by Zapier → Custom Request。
  3. Method:POST。URL:https://api.pagelemon.com/v2/sites/your-site/lists/events/items,填入你的網站名稱和清單名稱。
  4. Data:{"values": {"name": "…", "date": "…"}},把點點換成試算表的欄位(Name、Date)。冒號前面的每個名稱,都是你清單的一個欄位。
  5. Headers: Authorization with the value Bearer followed by your key, and Content-Type with application/json.
  6. 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.

開發者專區

bash
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。

有哪裡不清楚或過時了嗎?告訴我們,我們會修正。