NestHub Forms to Zapier
Please Note: Clients are required to have a Zapier Pro account in order to use Webhooks by Zapier.
Create a new zap or open the zap you want to integrate in Zapier
Please make sure the client has a Zapier Pro account before proceeding.
Add Zapier Trigger: Webhooks by Zapier (Raw Data)
-
Add Nesthub Form Action: Web Request (API)
In Nesthub, go to the client's form. Scroll down to Form Actions and add Web Request (API)
Name: Send Data to Zapier
Request Type: Post
Endpoint: Paste Webhook URL provided by Zapier's Webhooks function
Content Type: JSON
Body:
{ "formName": "Management Services", "formData": {{ data | json }} }
**You may add additional static data here if needed similar to formName
-
Test Zapier's Webhooks function
1. Send a test form submission in Nesthub
2. Return to Zapier, click: Test Trigger.
3. Select: request A
4. Click: Continue with Selected Record
Add Zapier Step: Code by Zapier (set to Javascript) to parse the data
1. Select Trigger: Code by Zapier
2. Select Action Event: Run Javascript
3. Configure Javascript
Input Data: formData
Select the data source: 1. Raw Body
Paste the following Javascript into the "code" box:
const formDataJson = inputData.formData || '{}'; const parsedData = JSON.parse(formDataJson); output = parsedData;
4. Click Continue, then: Test Step
5. Verify data, click: Publish
Now you may add another Zapier Action and use the form data in other integrations!