Integrations
Add to the list from Alexa, Home Assistant, Slack and AI assistants
Got Dill? connects to the tools a household already uses. Text sent from them goes to the app's inbox, and nothing reaches the list until a member approves it.
Apple Shortcuts uses the app directly. Every other one is set up by the household with its own key, and is not a supported product.
Alexa (with Home Assistant)
“Alexa, add milk to my shopping list.”
- Alexa puts milk on its shopping list.
- Home Assistant sees the new item and sends “milk” to Got Dill?.
- It waits in the Got Dill? inbox until a member approves it.
Needs Home Assistant with the Alexa Devices integration. Not yet tested end to end. Setup
Home Assistant
“Add bagels to the grocery list.”
- Home Assistant's voice assistant hears the sentence and sends “bagels” to Got Dill?.
- It answers “Sent bagels to the inbox.”
- It waits in the Got Dill? inbox until a member approves it.
A dashboard button or an NFC tag can send fixed text, such as “milk”. Setup
Claude and other AI assistants
“Put taco night on the grocery list.”
- The assistant sends “taco night” to Got Dill?.
- It waits in the Got Dill? inbox until a member approves it.
At review, the app turns taco night into its ingredients. The assistant can also read what is still to buy. Setup
Slack
/dill add milk, eggs
- Your Slack bot sends “milk, eggs” to Got Dill?.
- The bot replies “Sent to the inbox.”
- It waits in the Got Dill? inbox until a member approves it.
/dill list replies with the items still to buy. Needs a small server you run. Setup
Discord
/dill text:milk, eggs
- Your Discord bot sends “milk, eggs” to Got Dill?.
- The bot replies “Sent to the inbox.”
- It waits in the Got Dill? inbox until a member approves it.
/dill on its own replies with the items still to buy. Setup
Apple Shortcuts
Press the Action button, then say “milk, eggs and coffee”.
- The shortcut records what you say until you tap.
- It passes the words to the Got Dill? app on the phone.
- They wait in the app on that phone until you review them.
No key is needed. The shortcut uses the app's own action. Setup
Zapier, IFTTT and Make
A trigger in another service, such as a new email.
- A web request step sends the text to Got Dill?.
- It waits in the Got Dill? inbox until a member approves it.
Connects services that have no direct link to Got Dill?. Setup
Setting one up
On this page
The key
The household owner creates a key in the app, under Settings → Integrations. Every member can see it there: tap the eye to show the whole key, then Copy or Share it.
- One key per household. Replacing or revoking it stops the old key at once.
- Only the owner can create, replace or revoke it.
- The key can add text to the inbox and read the names of the items still to buy. It cannot change, cross off or delete anything.
- Keep the key somewhere private, such as your Home Assistant secrets file. Anyone who has it can add to the inbox and read the list.
Adding
POST https://api.got-dill.com/add Authorization: Bearer gd_… Content-Type: text/plain bagels, cream cheese, 2 lb salmon
Send the words as written, up to 500 characters. They are not parsed when they arrive. A member opens the inbox and the app turns the text into items for review, the same way it handles a dictated or pasted list.
| Reply | Meaning |
|---|---|
202 | Stored. The body is {"id": "…"}. |
400 | The text was empty. |
401 | The key is missing, wrong or revoked. |
413 | Over 500 characters. |
429 | The household has sent 20 today (UTC), or requests are arriving too fast. |
Reading the list
GET https://api.got-dill.com/list Authorization: Bearer gd_…
Returns the items still to buy: {"items": [{"name": "Milk"}, {"name": "Eggs"}]}.
Only names, in no particular order. Anything in the cart, suggestions, notes and
photos are not included.
Examples
Keep the key in an environment variable or a secret store. Do not put it in code that is shared, committed or posted. Anyone who has the key can add to the household's inbox and read its list.
curl
curl -X POST https://api.got-dill.com/add \ -H "Authorization: Bearer $GOTDILL_API_KEY" \ -H "Content-Type: text/plain" \ --data "milk, eggs, coffee" curl https://api.got-dill.com/list \ -H "Authorization: Bearer $GOTDILL_API_KEY"
Setup guides
These are possibilities, not supported products. Each guide shows the request to make. The tools change their menus; check their own documentation for the current layout.
- Slack bot
- Discord bot
- Home Assistant
- Apple Shortcuts
- Zapier, IFTTT and Make
- AI assistants (MCP server)
- Browser bookmarklet
Slack bot
A Slack slash command sends an HTTPS request to a server you run. The server
calls Got Dill? and replies. The commands here are /dill add milk and
/dill list.
- In the Slack app dashboard (
api.slack.com/apps), create or select an app. - Under Features, open Slash Commands and choose
Create New Command. Set the command to
/dilland the Request URL to your server's public HTTPS address. - Copy the signing secret from Basic Information.
- Start the server with
GOTDILL_API_KEYandSLACK_SIGNING_SECRETset as environment variables.
Slack sends the request as form data. The text field holds everything
after the command. The server must return HTTP 200 within 3 seconds and must
verify the request signature. Return 200 for application errors too, and put the
error in the message text.
// server.mjs — Node with built-in fetch
import { createServer } from "node:http";
import { createHmac, timingSafeEqual } from "node:crypto";
const API = "https://api.got-dill.com";
const KEY = process.env.GOTDILL_API_KEY;
const SECRET = process.env.SLACK_SIGNING_SECRET;
function verified(req, raw) {
const ts = req.headers["x-slack-request-timestamp"];
const sig = req.headers["x-slack-signature"];
if (!ts || !sig || Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
const mine = Buffer.from("v0=" + createHmac("sha256", SECRET).update(`v0:${ts}:${raw}`).digest("hex"));
const theirs = Buffer.from(sig);
return mine.length === theirs.length && timingSafeEqual(mine, theirs);
}
async function run(text) {
const auth = { Authorization: `Bearer ${KEY}` };
if (text.trim() === "list") {
const r = await fetch(`${API}/list`, { headers: auth });
if (!r.ok) return `Got Dill? replied ${r.status}.`;
const { items } = await r.json();
return items.length ? items.map((i) => i.name).join("\n") : "Nothing to buy.";
}
const body = text.replace(/^add\s+/, "").trim();
const r = await fetch(`${API}/add`, {
method: "POST",
headers: { ...auth, "Content-Type": "text/plain" },
body,
});
return r.status === 202 ? "Sent to the inbox." : `Got Dill? replied ${r.status}.`;
}
createServer(async (req, res) => {
const chunks = [];
for await (const chunk of req) chunks.push(chunk);
const raw = Buffer.concat(chunks).toString("utf8");
if (!verified(req, raw)) { res.writeHead(401).end(); return; }
const text = new URLSearchParams(raw).get("text") ?? "";
const reply = await run(text);
res.writeHead(200, { "Content-Type": "application/json" });
res.end(JSON.stringify({ response_type: "ephemeral", text: reply }));
}).listen(3000);
Text sent with add waits in the inbox. Nothing reaches the list until
a member reviews it in the app. Source: Slack documentation on
slash commands
and request verification.
Discord bot
This example uses discord.js. The bot has one command, /dill, with an
optional text option. /dill text:milk, eggs adds. /dill with no
text lists.
- Create an application in the Discord Developer Portal and add a bot. Note the application (client) ID and the bot token.
- Set
DISCORD_TOKEN,DISCORD_CLIENT_IDandGOTDILL_API_KEYas environment variables. - Register the command once with the script below.
- Run the bot script. Invite the bot to a server using the invite settings in the Developer Portal.
Register the command. A global command is created with
POST /applications/{application.id}/commands. Option type 3 is a string.
// register.mjs
import { REST, Routes } from "discord.js";
const rest = new REST({ version: "10" }).setToken(process.env.DISCORD_TOKEN);
await rest.put(Routes.applicationCommands(process.env.DISCORD_CLIENT_ID), {
body: [{
name: "dill",
description: "Add to or read the Got Dill? list",
options: [{ name: "text", type: 3, description: "Items to add. Leave empty to list." }],
}],
});
// bot.mjs
import { Client, Events, GatewayIntentBits } from "discord.js";
const API = "https://api.got-dill.com";
const auth = { Authorization: `Bearer ${process.env.GOTDILL_API_KEY}` };
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
client.on(Events.InteractionCreate, async (interaction) => {
if (!interaction.isChatInputCommand() || interaction.commandName !== "dill") return;
const text = interaction.options.getString("text");
if (text) {
const r = await fetch(`${API}/add`, {
method: "POST",
headers: { ...auth, "Content-Type": "text/plain" },
body: text,
});
await interaction.reply(r.status === 202 ? "Sent to the inbox." : `Got Dill? replied ${r.status}.`);
} else {
const r = await fetch(`${API}/list`, { headers: auth });
if (!r.ok) { await interaction.reply(`Got Dill? replied ${r.status}.`); return; }
const { items } = await r.json();
await interaction.reply(items.map((i) => i.name).join("\n") || "Nothing to buy.");
}
});
client.login(process.env.DISCORD_TOKEN);
Replies from the bot are visible to the channel. Anyone who can use the command can add text, so register it only on a server whose members you trust. Source: Discord documentation on application commands and the discord.js README.
Home Assistant
Add
In configuration.yaml:
rest_command:
got_dill_add:
url: https://api.got-dill.com/add
method: post
headers:
Authorization: !secret got_dill_authorization
content_type: "text/plain"
payload: "{{ text }}"
got_dill_list:
url: https://api.got-dill.com/list
method: get
headers:
Authorization: !secret got_dill_authorization
In secrets.yaml, got_dill_authorization: "Bearer gd_…".
Keep secrets.yaml out of any shared repository or backup you publish.
Read the list with a sensor
A rest sensor polls /list. The state is the number of items.
The names are in the items attribute, because a sensor state is limited
in length. Poll rarely; the API answers 429 when requests arrive too fast.
rest:
- resource: https://api.got-dill.com/list
scan_interval: 300
headers:
Authorization: !secret got_dill_authorization
sensor:
- name: "Got Dill to buy"
value_template: "{{ value_json['items'] | length }}"
json_attributes:
- items
A template can list the names: {{ state_attr('sensor.got_dill_to_buy', 'items') | map(attribute='name') | join(', ') }}.
Read the list on demand
Calling rest_command.got_dill_list with response_variable returns
status, content and headers. This script adds an item
and reads the list:
script:
got_dill_add_and_read:
fields:
text:
description: Text to send
sequence:
- action: rest_command.got_dill_add
data:
text: "{{ text }}"
- action: rest_command.got_dill_list
response_variable: dill
- if: "{{ dill['status'] == 200 }}"
then:
- action: persistent_notification.create
data:
message: "{{ dill['content']['items'] | map(attribute='name') | join(', ') }}"
Assist
A sentence trigger passes spoken words to the command. The wildcard
{item} is available as trigger.slots.item.
automation:
- alias: "Add to Got Dill?"
triggers:
- trigger: conversation
command:
- "add {item} to the grocery list"
actions:
- action: rest_command.got_dill_add
data:
text: "{{ trigger.slots.item }}"
- set_conversation_response: "Sent {{ trigger.slots.item }} to the inbox."
Forward the Alexa shopping list
The Alexa Devices
integration shows Alexa's shopping list as a to-do list in Home Assistant. This
automation sends each item added to it to the inbox. Replace
todo.alexa_shopping_list with the entity ID of your Alexa shopping list.
automation:
- alias: "Forward Alexa shopping list to Got Dill?"
mode: queued
triggers:
- trigger: todo.item_added
target:
entity_id: todo.alexa_shopping_list
actions:
- action: todo.get_items
target:
entity_id: todo.alexa_shopping_list
response_variable: alexa
- variables:
added: >
{{ alexa['todo.alexa_shopping_list']['items']
| selectattr('uid', 'in', trigger.item_ids)
| map(attribute='summary') | join(', ') }}
- if: "{{ added != '' }}"
then:
- action: rest_command.got_dill_add
data:
text: "{{ added }}"
The trigger gives only the IDs of the new items, so todo.get_items
looks up their names. Items added together go in one request. The items stay on
the Alexa list.
Dashboard button
type: button
name: Milk
tap_action:
action: perform-action
perform_action: rest_command.got_dill_add
data:
text: "milk"
Source: Home Assistant documentation for rest_command, the RESTful integration, sentence triggers, set_conversation_response, todo.item_added, todo.get_items and the button card.
Apple Shortcuts
The Got Dill? app adds an action to the Shortcuts app called Add to the shopping list. It takes text and puts it in the app's inbox on that phone, where you review it before anything reaches the list. It needs no key and makes no request to the API.
- Install the ready-made shortcut. In the app, open Settings and tap Add items by voice, or open the shortcut on the iPhone. It records what you say with Dictate Text and passes the words to Add to the shopping list.
- Assign it to the Action button. On an iPhone 15 Pro or later, open Settings, tap Action Button, move to Shortcut, tap Choose a Shortcut and select it.
- Press the Action button, say the items, and tap to stop.
- Open Got Dill? and review what you said. Nothing reaches the list until you do.
What you say is kept on that phone only. Other members do not see it until it has been reviewed and added to the list.
NFC tag. NFC is one of the triggers available for Shortcuts automations. Make a shortcut with Add to the shopping list set to fixed text, such as "milk", then create an automation with the NFC trigger, scan the tag, and have it run that shortcut.
Source: Apple's Run shortcuts and Add automations guides.
Zapier, IFTTT and Make
Each service has a step that sends an HTTP request. Set these values.
| Field | Value for adding |
|---|---|
| Method | POST |
| URL | https://api.got-dill.com/add |
| Header | Authorization: Bearer gd_… |
| Content type | text/plain |
| Body | The text, up to 500 characters |
- Zapier. Use the Webhooks by Zapier action event POST, or Custom Request. The POST event has the fields URL, Payload Type, Data and Headers. Set Payload Type to Raw, which sends the content as-is without parsing data fields. Add the Authorization and Content-Type headers under Headers. (Zapier documentation)
- IFTTT. Use the Make a web request action, which has the
inputs URL, Method, Content Type, Additional Headers and Body. Set Content Type to
text/plainif the list offers it. If it does not, IFTTT cannot send this request. This step has not been confirmed against IFTTT's own documentation. - Make. Use the HTTP app's Make a request
module. Set Method to POST, Body content type to Custom, Content type
value to
text/plain, and put the text in Body content. Add the Authorization header under Headers. (Make documentation)
To read the list, use the same step with method GET and
https://api.got-dill.com/list. Store the key in the service's own
credential or secret field where it has one. Remember the limit of 20 submissions
per household per UTC day when a trigger fires often.
AI assistants (MCP server)
Claude Code, or any agent that can run commands, needs no MCP server. Point it at got-dill.com/claude, which tells it how to add and read with your key.
An MCP server exposes tools that an assistant can call. This Python sketch uses the
official MCP Python SDK and exposes add_to_list(text) and
get_list(). Install the SDK with uv add "mcp[cli]", set
GOTDILL_API_KEY in the environment the server runs in, and run
uv run dill.py.
# dill.py
import json
import os
import urllib.error
import urllib.request
from mcp.server import MCPServer
mcp = MCPServer("got-dill")
API = "https://api.got-dill.com"
KEY = os.environ["GOTDILL_API_KEY"]
def call(path, body=None):
req = urllib.request.Request(
API + path,
data=body.encode() if body is not None else None,
method="POST" if body is not None else "GET",
headers={"Authorization": f"Bearer {KEY}", "Content-Type": "text/plain"},
)
try:
with urllib.request.urlopen(req) as r:
return r.status, r.read().decode()
except urllib.error.HTTPError as e:
return e.code, e.read().decode()
@mcp.tool()
def add_to_list(text: str) -> str:
"""Send text (up to 500 characters) to the household's Got Dill? inbox for review."""
status, _ = call("/add", text)
return "Sent to the inbox." if status == 202 else f"Got Dill? replied {status}."
@mcp.tool()
def get_list() -> str:
"""Return the names of the items still to buy."""
status, body = call("/list")
if status != 200:
return f"Got Dill? replied {status}."
return ", ".join(i["name"] for i in json.loads(body)["items"]) or "Nothing to buy."
if __name__ == "__main__":
mcp.run(transport="stdio")
Register the server in your assistant by its own MCP configuration; Claude for
Desktop lists servers under mcpServers in
claude_desktop_config.json with a command and args,
for example uv --directory /path/to/folder run dill.py. The assistant
can add text to the inbox. A member still reviews it in the app. The SDK's
interface changes between releases; check the
MCP server guide
for the current names.
Browser bookmarklet
A bookmarklet that sends the selected text to the API from a web page does not
work. The API sends no CORS headers. A page on another site cannot make a request
with an Authorization header to api.got-dill.com, because the
browser blocks it. A bookmarklet would also store the key in the bookmark.
To send selected text from a browser, post it to a server you run, such as the Slack example above with CORS headers added, and have that server call the API. Text is limited to 500 characters either way.
Limits
- 20 submissions per household per UTC day, 500 characters each.
- Unreviewed text is deleted after 30 days.
- Reviewing the inbox counts against the household's parse allowance, like any other list.