Use suas listas em outros apps

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.

Última atualização: · Ver em Markdown

Nesta página

Diga isto à sua IA

Copie para o chat da sua IA

Como adiciono novas linhas do Google Sheets à minha lista de eventos com o Zapier?

Your AI explains the steps. Making the key is done by you in the app.

O que ter à mão

  • Seu site guardado na sua conta do Page Lemon, com a lista criada.
  • 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: adicionar uma linha da planilha a uma lista

  1. Crie um Zap com o gatilho Google Sheets → New Spreadsheet Row.
  2. Adicione a ação Webhooks by Zapier → Custom Request.
  3. Method: POST. URL: https://api.pagelemon.com/v2/sites/your-site/lists/events/items, com o nome do seu site e o nome da lista.
  4. Data: {"values": {"name": "…", "date": "…"}}, colocando as colunas da planilha no lugar dos pontos (Nome, Data). Cada nome antes de dois-pontos é uma coluna da sua lista.
  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.

Para desenvolvedores

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.

Mantenha em segurança

  • 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.

Bom saber

  • As ferramentas que você conecta não são operadas pelo Page Lemon. Você as escolhe, e valem os termos e as políticas de privacidade delas. Veja Privacidade e seus dados.

Mais sobre listas: Listas. Algo não está certo? Veja Resolver um problema.

Para assistentes de IA: o guia de configuração está em pagelemon.com/agents/lists.

Algo confuso ou desatualizado? Fale com a gente e corrigiremos a página.