I stumbled upon this post as I’ve been working on integrating a similar setup. however, I’m looking to integrate into an existing API that I’ve built. With that being said, I did so using node (and fetch). Here’s what I ended up with as a test:
const fetch = require('node-fetch')
const sendHttpRequest = (method, url, data) => {
return fetch(url, {
method: method,
body: JSON.stringify(data),
headers: data ? { 'Content-Type': 'application/json' } : {}
}).then(response => {
return response.json()
})
}
const sendData = () => {
sendHttpRequest('POST', '<YOUR ZAPIER WEBHOOK URL>', {
...
})
}
sendData()
QUESTION: What is the best option for extracting individual values within Zapier?