Forum Posts

p4ulcl4rke
Mar 30, 2022
In Knack
Just wondered if anyone here is using n8n with knack? n8n does not have a trigger built in but if you add: // Change view_1234 is the edit buyer form $(document).on('knack-form-submit.view_1234', async function(event, view, data) { await $.ajax( { url:"https://yourwebhookurl.com", type:'POST', data: {json: JSON.stringify(data)}, dataType: 'json' } ) }); to your javascript area in settings>API and Code you can collect all your fields from the webhook node in n8n. Just change the view_1234 number to which ever form your are working on in knack. Pretty handy because you can host your own n8n on a vps so you don't have to pay for each workflow to trigger like you would with zapier or integromat. Not that they are not great tools because they are, but when you are sending webhit data back to knack it becomes uneconomical unless you have n8n. I have other nodes for processing data from knack within n8n if anyone is interested.
0
0
6
p4ulcl4rke
More actions