Photo by Dylan Gillis on Unsplash

Coda Expert Webhook Pack — how to?

How to use the webhook trigger to relate tables in two docs.

Why this pack

What it does

How it works

  • You install the pack (for free) in the source doc — https://coda.new
  • You type in / packs as you see below
  • you search for CodaExpert
find the CodaExpert_Webhook
  • you click on the pack to install it in your doc
  • you have the pack active in your doc
the pack is active in your doc
  • you create a table with some columns, including a button and you search for the pack name:
use the pack in your button
  • The pack requires 3 elements, the URL, the token and the columns you want to send over. To get the URL & the token we create the second doc and we activate the automation. Again https://coda.new and we go to automations and we select Webhook invoked:
select Webhook invoked in target doc
  • We copy the URL and the token and put them between double quotes and we add the columns we want to push to the target doc. In our case three columns, firstname, lastname and email
using the webhook pack
  • We move to the target doc to complete the webhook automation. We don’t have to recall the names of the columns, only the order:
complete the webhook
  • The code you see is this one:
thisRow.[Step 1 Result].ParseJSON("$.column1")

Use Cases

Webhook Pack in action

Extra — two way sync

Coda expert on: “ Coda Expert Webhook Pack — how to?”

--

--

I use Coda mainly for (HR) planning & (budget) calculations. Follow me to learn how to Coda with numbers. I blog at least once per week.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christiaan Huizer

I use Coda mainly for (HR) planning & (budget) calculations. Follow me to learn how to Coda with numbers. I blog at least once per week.