Help

How to trigger node code from Airtable we hooks using the ngrok?

Topic Labels: Extensions
674 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Madalyne_Perez
4 - Data Explorer
4 - Data Explorer

Has anybody tried this ?

2 Replies 2

Not sure how exactly you want to use Ngrok → I am guessing when something happens in Airtable → trigger webhook (which is provided by NGROK)?

If so what you can do is - set a trigger (eg. when record enters view) and use it to start a script:
image

The script I am using is extremely simple:

const inputData = input.config()

const {recordId} = inputData


const response = await fetch("https://myhookURL.make.com?recordId="+recordId)

console.log(await response.status)

My automation is using webhook from Make.com , so I need to pass there only record ID of the record and I use Airtable module there to pick up other relevant information from Airtable

If you want to pass more infromation to Ngrok webhook, you could chain it in the fetch above with &variable2=valuehere&variable3=valuehere.

I hope that helps?

Heya, I dabbled with this tonight and can confirm through early initial testing that ngrok works well with Airtable scripts.