Automations and integrations
There are four ways to get a submission out of hipaaform.ai and into another tool. Pick by where the data is going and whether patient information should travel with it.
| Method | Carries answers? | Set up in |
|---|---|---|
| Email notification | No by default (secure link only) | Form → Integrations |
| Slack, Microsoft Teams or Google Chat alert | Never | Form → Integrations |
| Connector: Google Sheets, HubSpot, Salesforce, EHR (FHIR) | Yes | Form → Integrations |
| Webhook | Yes | Form → Integrations |
| REST API and subscriptions | Yes | Workspace → API keys |
Anything that carries answers sends protected health information to a third party. hipaaform.ai asks an account owner to confirm responsibility for the destination first, and you need your own Business Associate Agreement with any vendor that will hold the data. Zapier, Make and Google Workspace each have their own terms for PHI — check them before sending patient data through them.
Test before you rely on it
Every integration on the Integrations tab has a Send a test button. It uses what is on screen, even before you save, and made-up answers, so no patient information is sent and nobody has to fill in the form to find out whether it works. The result appears next to the button: what was sent and where to look, or the reason it failed.
- Email notification: sent to the listed addresses, labelled as a test.
- Chat alert: a test line posted to the channel.
- Webhook: a signed sample payload with
"test": true. - Google Sheets: one sample row, which you can delete.
- HubSpot / Salesforce: a contact or lead named Test Patient (
test.patient@example.com), which you can delete. - EHR (FHIR): a sample
QuestionnaireResponsewith the identifiertest_submission. - Confirmation email (Settings tab): sent to you only.
- API subscriptions:
POST /api/v1/hooks/{hook_id}/test.
Connectors
Connectors write each submission straight into another system, with no code and no middleman. They are on the form's Integrations tab. Each one is retried if the other system is down, appears in the delivery log, and needs an account owner to confirm the destination — again whenever the destination changes.
- Google Sheets: share your spreadsheet with the service account address shown in the panel, as an Editor, and paste the spreadsheet link. Each submission is appended as a row: submission ID, time, then one column per question in form order (signatures are left out). Add your own header row.
- HubSpot: create a private app with the
crm.objects.contacts.writescope, paste its access token, and choose which fields hold the email, name and phone. A contact is created per submission; an existing contact with the same email is left unchanged. - Salesforce: enable Web-to-Lead, enter your organization ID (it starts with
00D) and choose the fields for last name, first name, email, phone and description. A lead is created per submission, with your practice as its company. - EHR (FHIR): enter your FHIR R4 base URL and, if needed, a bearer token. Each submission is sent as a
QuestionnaireResponseto/QuestionnaireResponse; every answer'slinkIdis its field ID, and the submission ID is the resource'sidentifier.
Chat alerts (no patient data)
On the form's Integrations tab, turn on the chat alert and paste an incoming webhook address:
- Slack: create an app with Incoming Webhooks, add it to a channel and copy the
https://hooks.slack.com/services/…address. - Microsoft Teams: in the channel, add the workflow Post to a channel when a webhook request is received and copy its address.
- Google Chat: in the space, choose Apps & integrations → Webhooks and copy the address.
The message names the form and links to the submission. It never contains answers.
The chat tool is still a service outside hipaaform.ai, so an account owner is asked to confirm a short statement before the alert is switched on, and again if the webhook address changes. In practice:
- Give the form a name that does not identify a patient, because the name is posted to the channel.
- Only add people to the channel who may know that a submission arrived.
- Do not discuss a submission's contents in the channel unless you have your own Business Associate Agreement with the chat provider.
Zapier, Make and n8n
Each of these has a generic webhook trigger, which gives you a URL to send data to:
- Zapier: Webhooks by Zapier → Catch Hook
- Make: Webhooks → Custom webhook
- n8n: Webhook node, method
POST
For one form, paste that URL as the form's webhook on the Integrations tab. For every form at once, create a subscription with the API instead:
curl -X POST https://app.hipaaform.ai/api/v1/hooks \
-H "Authorization: Bearer hf_live_your_key" -H "Content-Type: application/json" \
-d '{ "url": "https://hooks.zapier.com/hooks/catch/123/abc" }'
Submit the form once so the tool can read a sample, then map the fields. Answers arrive in submission.answers, each with a stable id, its label, type and value; see the webhook payload. If a destination is down, deliveries are retried automatically for about 15 hours and can be sent again from the form's delivery log.
Google Sheets with Apps Script
If the Google Sheets connector is not available on your server, a small Apps Script can receive the webhook and append a row.
In the spreadsheet choose Extensions → Apps Script and paste:
function doPost(e) { const event = JSON.parse(e.postData.contents); const s = event.submission; const sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0]; const text = (v) => (v !== null && typeof v === 'object' ? JSON.stringify(v) : v); sheet.appendRow([s.id, s.created_at, ...s.answers.map((a) => text(a.value))]); return ContentService.createTextOutput('ok'); }Choose Deploy → New deployment → Web app, run it as yourself and allow access to Anyone. Copy the web app URL.
Paste that URL as the form's webhook.
Apps Script cannot read request headers, so it cannot verify the webhook signature: treat the URL itself as a secret, and do not use this route for forms where a forged row would matter. Google Sheets holds whatever you send it, so it must be covered by your Google Workspace BAA.
CRMs, EHRs and practice management systems
For HubSpot, Salesforce and FHIR-capable EHRs, use the connectors above. For anything else, use the webhook or the API. Most of these systems either accept inbound webhooks directly or are reached through an integration platform. Map by field id, not by label, so renaming a question never breaks the mapping, and verify the X-Hipaaform-Signature header on anything you host yourself.