Best answer

Extracting individual values within Zapier?

  • 20 October 2020
  • 3 replies
  • 47 views

Userlevel 1

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? 

 

icon

Best answer by Anoroc 19 November 2020, 16:15

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +10

Hi @Anoroc 

Sorry we missed this, did you get it sorted?

If not, maybe @ikbelkirasan can help with this.

Userlevel 1

Hi @AndrewJDavison_Luhhu 

I did, yes. I ended up writing a function to send data from my API to Google sheets as a “flat database”. Form there, I could send the necessary data as individual fields to Constant Contact, with a Zap.

 

Userlevel 7
Badge +10

Fantastic @Anoroc - glad to hear it!