リストをほかのアプリで使う
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:シートの行をリストに追加
- トリガーにGoogle Sheets → New Spreadsheet Rowを指定して、Zapを作ります。
- アクションに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 にあります。