A business card scanner that sends a webhook

Krane reads a business card on your iPhone and posts it as one JSON request to an address you choose: Zapier, Make, n8n or your own server. Add a secret and every request is signed.

Free for 10 scans a week · Updated December 2026

One scanned card, as Krane sends it
POST https://hooks.example/your-address
Content-Type: application/json
X-Krane-Timestamp: 1796312532
X-Krane-Signature: sha256=659198d6ea94da2091113f57e2036c7029147dabf0e9eafecf7fb71a19ca81bf

{
  "card": {
    "additionalInfo": "Since 1998",
    "address": "14 Harbor Road, Bayport",
    "company": "Northwind Freight",
    "department": "Partnerships",
    "emails": ["mara.lind@northwind.example"],
    "event": {
      "end": "2026-12-04T23:00:00Z",
      "id": "2B7D41C0-5E8A-4F3B-9C61-0A4E7D2F9B13",
      "location": "Pier 4",
      "name": "Harbor Expo 2026",
      "start": "2026-12-02T15:00:00Z"
    },
    "firstName": "Mara",
    "followUp": "2026-12-09T14:00:00Z",
    "id": "6F1C2A4E-93B7-4D05-8E2A-71C4B0D95F68",
    "lastName": "Lind",
    "metAt": "Booth 212",
    "name": "Mara Lind",
    "nameReading": "",
    "notes": "Quote in spring",
    "phones": [{ "label": "mobile", "number": "+1 207 555 0142" }],
    "position": "Head of Partnerships",
    "scannedAt": "2026-12-03T15:42:10Z",
    "socials": [{ "handle": "maralind", "network": "linkedin" }],
    "source": "krane",
    "tags": ["samples"],
    "websites": ["northwind.example"]
  },
  "event": "card"
}
    

Spread over several lines here to read; Krane sends the body on one line, and the signature is made from those exact bytes. This one was made with the secret example-secret, so you can test your check against it.

  • ZapierWebhooks by Zapier · Catch Hook
  • MakeWebhooks · Custom webhook
  • n8nWebhook node
  • Your serverAny address that accepts a POST

What one scan sends

A webhook is an address on the web that waits for data. Each card Krane reads goes to that address as one HTTP POST, sent from your iPhone. The request has three parts:

  1. A JSON body, sent with the header Content-Type: application/json.
  2. An X-Krane-Timestamp header on every request, holding the time of sending in Unix seconds.
  3. An X-Krane-Signature header, only when you have set a signing secret.

The body has two top-level keys. event holds the text "card", and card holds the card. Every field sits inside card, so the first name is card.firstName and the company is card.company.

Krane sends one request per card, so 50 cards from a show arrive as 50 requests.

Every key in the card

These are all the keys Krane can put inside card. Krane has no mapping screen, so this table is the whole payload.

KeyWhat it holdsExample
idThe card’s ID, a UUID, the same every time this card is sent"6F1C2A4E-93B7-4D05-8E2A-71C4B0D95F68"
nameThe full name as printed"Mara Lind"
firstNameGiven name plus any middle names"Mara"
lastNameFamily name"Lind"
nameReadingThe name’s reading, in kana or Latin letters; empty when the card has none""
companyCompany name"Northwind Freight"
positionJob title"Head of Partnerships"
departmentDepartment"Partnerships"
addressThe address as read, in one block of text"14 Harbor Road, Bayport"
phonesA list; each label is mobile, work, fax or other[{"label": "mobile", "number": "+1 207 555 0142"}]
emailsA list of email addresses["mara.lind@northwind.example"]
websitesA list of web addresses["northwind.example"]
socialsA list; each network is linkedin, x, instagram or other[{"handle": "maralind", "network": "linkedin"}]
tagsA list of your tags["samples"]
metAtWhere you met"Booth 212"
notesYour notes on the card"Quote in spring"
additionalInfoAnything else printed on the card"Since 1998"
followUpThe follow-up reminder date, only when one is set"2026-12-09T14:00:00Z"
scannedAtWhen the card was scanned, ISO 8601 in UTC"2026-12-03T15:42:10Z"
eventThe event the card belongs to: id, name, start, end, location{"name": "Harbor Expo 2026", …}
imageThe front photo, a base64 JPEG of at most 800 px on its long side"/9j/4AAQSkZJRg…"
sourceAlways "krane""krane"

A text field with nothing in it arrives as an empty string, and an empty list as []. Four keys are left out when unset: followUp, event, image and, inside an event, location. The keys are written in alphabetical order.

Set it up in Krane

With Krane Pro, open Settings → Connections and tap Add Webhook. It takes about a minute. The screen has five things on it:

  • The URL. The placeholder shows https://hooks.zapier.com/…; paste your tool’s address.
  • Signing secret (optional). Any text you also give the receiving end.
  • Include the card photo. Off, the image key is left out.
  • Enabled and Send new scans automatically. With the second one on, each card goes out as soon as it is read.
  • Test connection. Posts {"event": "test", "source": "krane"}, so the tool has a first sample.

Tap Save. Krane then asks “Send your existing cards?”, with Send all N cards or Not now. Later, the connection’s settings keep two buttons under Existing cards: “Send N cards not sent yet” and “Send all N cards”.

A card read with no signal is read on your iPhone right away, checked again when you’re back online with Krane open, and sent after that check.

You can also send by hand: one card from Send to… in its ⋯ menu, a selection, or a whole event after a trade show. A contact scanned from a conference badge goes out the same way. Several connections can run at once, so a webhook can sit beside HubSpot.

CancelWebhookSave

Webhook URL

  • https://hooks.zapier.com/…
  • Signing secret (optional)
  • Include the card photo
  • Enabled
  • Send new scans automatically

Cards read offline are sent once Krane has re-read them online.

  • Test connection✓ Works

Catching it in Zapier, Make and n8n

Each tool gives you an address, then has to see one real card before it can offer you the fields. The test sample has no card in it.

ToolWhere the address comes fromHow it learns the fieldsWhat to watch
ZapierA Zap whose trigger app is Webhooks by Zapier, with the event Catch HookTap Test connection in Krane, then scan or send one real card so the Zap sees the card keysCatch Raw Hook gives the unparsed body and the headers, needed to check the signature inside Zapier. Webhooks by Zapier is on paid plans, so check your Zapier plan
MakeA scenario that starts with the Webhooks module, Custom webhookSend a card while Make is listening and it works out the data structure. If fields are missing later, choose Detect new values and send anotherTurn on Get request headers under Advanced settings to see the signature headers
n8nA workflow that starts with the Webhook node, HTTP Method set to POSTListen for a test event on the Test URL and send a cardThe Test URL works only while you listen, the Production URL only once the workflow is published and active, so paste that one into Krane when you’re done. Headers sit next to the body in the output; the Raw Body option keeps the exact bytes

After the trigger, add the action for the app you want: create a contact in Zoho CRM, add a row in Airtable, post a message in Slack. Map the action’s fields from the card keys. phones, emails and websites are lists, so take the first entry or loop over them.

Checking the signature

Krane signs a request only when the connection has a signing secret. The Test connection request is signed the same way, so you can try your check before a real card arrives.

Krane joins the timestamp, a dot and the body, and makes a code from that text and your secret. The method is HMAC-SHA256, and only someone holding the secret can produce the same code. Krane sends it in X-Krane-Signature as lowercase hex after sha256=.

To check a request, repeat the work on your side:

  1. Take the X-Krane-Timestamp value, a dot, and the raw body exactly as received. JSON that you parsed and wrote out again can differ by a byte, and then the codes won’t match.
  2. Compute HMAC-SHA256 over it with the secret as the key, and hex-encode the result in lowercase.
  3. Compare it with the header using a constant-time comparison.
  4. Reject a request whose timestamp is far from now, so a copied request can’t be replayed later. Five minutes is a common window. The window is your choice; Krane sets none.

In Node.js:

const crypto = require("crypto");

function fromKrane(rawBody, headers, secret) {
  const ts = headers["x-krane-timestamp"];
  const sent = Buffer.from(headers["x-krane-signature"] || "");
  const mine = Buffer.from("sha256=" + crypto.createHmac("sha256", secret)
    .update(ts + ".").update(rawBody).digest("hex"));
  const fresh = Math.abs(Date.now() / 1000 - Number(ts)) < 300;
  return fresh && sent.length === mine.length && crypto.timingSafeEqual(sent, mine);
}

In Python:

import hashlib, hmac, time

def from_krane(raw_body: bytes, headers, secret: str) -> bool:
    ts = headers.get("X-Krane-Timestamp", "")
    sent = headers.get("X-Krane-Signature", "")
    mine = "sha256=" + hmac.new(secret.encode(), ts.encode() + b"." + raw_body,
                                hashlib.sha256).hexdigest()
    fresh = ts.isdigit() and abs(time.time() - int(ts)) < 300
    return fresh and hmac.compare_digest(sent.encode(), mine.encode())

When the receiver says no

Krane counts any 2xx answer as sent. Any other status shows as a failure on that card, with the message from the response body when it has a message or error field. A request that gets no answer times out after 30 seconds.

A 401 or 403 stops the rest of that batch, because every remaining card would fail the same way.

Krane does not retry by itself. Fix the receiving end, then send the card again from the app.

Krane also does not look for an earlier record at the receiving end, so a card sent twice arrives twice. Each card carries the same id every time. Your automation can use it to update the record it made before, or it can find the person by email.

An edited card is not re-sent by itself. Send it again when you want the change to travel.

  1. 2xxSent. The card counts as delivered.
  2. 4xx · 5xxFailed on that card, with the receiver's message when it gives one.
  3. 401 · 403The rest of that batch stops: every card would fail the same way.
  4. 30 sNo answer in 30 seconds counts as a failure.
  5. card.idSent again by hand, the card keeps its id, so the receiver can update instead of adding.

Where the cards can go from here

One business card scanner webhook reaches every app that Zapier, Make or n8n can write to. Krane has no connection of its own to Zoho CRM, Notion, Airtable, Slack or Google Contacts; the automation tool takes the card there. Your own database works the same way, behind your own endpoint. Dynamics 365 is reached like this too, and the Outlook routes page has the steps.

HubSpot, Salesforce, Pipedrive and kintone have direct connections, listed with all integrations. They carry more than a webhook does: Krane finds the person’s existing record, by email in most cases, and updates it, and the card keeps a link to its record in the CRM.

Free and Pro

The webhook is part of Krane Pro, the subscription that also covers the CRM connections, CSV export and Google Sheets sync. The free plan scans 10 cards a week and saves them to Apple Contacts, so you can see how Krane reads your cards before you build anything.

FAQ

Questions about Krane's webhook

Does Krane work with Zapier?

Yes, through a webhook, with Krane Pro. Start a Zap with Webhooks by Zapier and the event Catch Hook, paste its address into Krane under Settings → Connections → Add Webhook, and each card arrives in the Zap as JSON. Webhooks by Zapier is on Zapier’s paid plans, so check your Zapier plan.

Can I use Krane with Make (formerly Integromat)?

Yes. Start a scenario with the Webhooks module’s Custom webhook, copy its address into Krane and send one card so Make learns the data structure. Turn on Get request headers if you want to check the signature.

Does Krane work with n8n?

Yes. Add a Webhook node with HTTP Method set to POST. Use the Test URL while you build, then paste the Production URL into Krane once the workflow is published and active.

What does the webhook send for each business card?

One POST with a JSON body of two keys: event, which is "card", and card, which holds the name, company, job title, department, address, phones, emails, websites, social profiles, tags, notes, where you met, the scan date and the event. The table above lists every key with an example.

How do I get the first name and company in Zapier?

Send one real card to the Zap first; the Test connection sample has no card in it. Zapier then offers the keys inside card as fields, firstName and company among them, and you map them in the action step.

Is the card photo included?

Only when “Include the card photo” is on for that connection. The front photo then arrives in card.image as a base64 JPEG, at most 800 px on its long side. With the switch off, the key is left out.

How do I verify the X-Krane-Signature header?

Join the X-Krane-Timestamp value, a dot and the raw request body, compute HMAC-SHA256 over that with your signing secret, and hex-encode it in lowercase. It should equal the header’s value after sha256=. Compare in constant time, and use the raw body, since re-serialized JSON can differ.

Will the same card be sent twice?

With “Send new scans automatically” on, a new card is sent once. If you send it again by hand or choose “Send all N cards”, it arrives again, because Krane does not check what the receiving end already holds. The card’s id is the same every time, so your automation can update the earlier record.

What happens if my webhook is down?

The card shows a failure in Krane, and Krane does not retry by itself. Once the address answers again, send the card again from the app.

Can I send cards I scanned before I set up the webhook?

Yes. Right after you save a new connection, Krane asks “Send your existing cards?” and sends all of them if you agree. Later, the connection’s settings have “Send N cards not sent yet” and “Send all N cards” under Existing cards.

Can I send business cards to Zoho, Notion or Airtable this way?

Yes, through Zapier, Make or n8n. Krane has no connection of its own to those three; it posts the card to the automation tool, and the tool creates the Zoho contact, the Notion page or the Airtable row.

Is there a public API instead of a webhook?

No. Krane has no public API for reading cards out of the app. The webhook is the way to get each card out as data, and with Krane Pro you can also export a CSV file or fill a Google Sheet.

Is the webhook free?

No. The webhook is part of Krane Pro, a subscription. The free plan scans 10 cards a week and saves them to Apple Contacts.

Scan the next card and watch it arrive in your Zap.

Free for 10 scans a week. Krane Pro adds unlimited scans, export and CRM sync.

Download on the App Store
QR code: Krane on the App Store

On a computer? Point your iPhone camera at the code, or text me the link.