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

  1. Alexa puts milk on its shopping list.
  2. Home Assistant sees the new item and sends “milk” to Got Dill?.
  3. 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.”

  1. Home Assistant's voice assistant hears the sentence and sends “bagels” to Got Dill?.
  2. It answers “Sent bagels to the inbox.”
  3. 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.”

  1. The assistant sends “taco night” to Got Dill?.
  2. 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

  1. Your Slack bot sends “milk, eggs” to Got Dill?.
  2. The bot replies “Sent to the inbox.”
  3. 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

  1. Your Discord bot sends “milk, eggs” to Got Dill?.
  2. The bot replies “Sent to the inbox.”
  3. 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”.

  1. The shortcut records what you say until you tap.
  2. It passes the words to the Got Dill? app on the phone.
  3. 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.

  1. A web request step sends the text to Got Dill?.
  2. 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.

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.

ReplyMeaning
202Stored. The body is {"id": "…"}.
400The text was empty.
401The key is missing, wrong or revoked.
413Over 500 characters.
429The 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

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.

  1. In the Slack app dashboard (api.slack.com/apps), create or select an app.
  2. Under Features, open Slash Commands and choose Create New Command. Set the command to /dill and the Request URL to your server's public HTTPS address.
  3. Copy the signing secret from Basic Information.
  4. Start the server with GOTDILL_API_KEY and SLACK_SIGNING_SECRET set 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.

  1. Create an application in the Discord Developer Portal and add a bot. Note the application (client) ID and the bot token.
  2. Set DISCORD_TOKEN, DISCORD_CLIENT_ID and GOTDILL_API_KEY as environment variables.
  3. Register the command once with the script below.
  4. 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.

  1. 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.
  2. 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.
  3. Press the Action button, say the items, and tap to stop.
  4. 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.

FieldValue for adding
MethodPOST
URLhttps://api.got-dill.com/add
HeaderAuthorization: Bearer gd_…
Content typetext/plain
BodyThe text, up to 500 characters

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