Events
- Active Campaign
- Acuity
- Axle Health
- Butterfly Labs
- Calendly
- Customer.io
- Elation
- Feathery
- Formsort
- Healthie
- Hubspot
- IntakeQ
- Junction
- Morf
- Segment
Actions
- Active Campaign
- Customer.io
- Facebook
- Freshdesk
- Google
- Healthie
- v1
- Append To Patient Quick Notes
- Complete Task
- Create Allergy Sensitivity
- Create Appointment
- Create Billing Item
- Create Conversation
- Create Document
- Create Family History
- Create Invoice
- Create Metric Entry
- Create Or Update Form Answer Group
- Create Or Update Insurance Policy
- Create Or Update Notification Contact
- Create Or Update Patient
- Create Or Update Patient Location
- Create Or Update Referring Provider
- Create Patient Stripe Credit Card
- Create Patient Stripe Credit Card V2
- Create Referral
- Create Requested Form Completion
- Create Task
- Get Appointment
- Get Onboarding Flow
- Get User
- List Appointments For Patient
- List Insurance Plans
- List Requested Form Completion
- Lock Form Answer Group
- Search Metric Entries
- Search Users
- Send Form Request Reminder
- Update Appointment
- Update Client Source
- Update Metric Entry
- Update Patient
- Update Patient Weight
- Update Tags
- v2
- Hubspot
- IntakeQ
- Intercom
- Mixpanel
- Morf
- Nextdoor
- Open Phone
- Segment
- Slack
- Spruce
- Stedi
- Stripe
- Tiktok
- Twilio
Create Or Update Form Answer Group
Documentation for the Create Or Update Form Answer Group action for Healthie
{
"$result_object_key": {
"autoscored_sections": [
{
"section_key": "results",
"section_title": "Results",
"value": 42
}
],
"custom_module_form_id": "1380649",
"deleted_at": "2024-07-04T10:35:45+00:00",
"dietician_organization_id": "123450",
"dietitian_email_address": "drfleming@example.com",
"dietitian_first_name": "Alexander",
"dietitian_id": "100070",
"dietitian_last_name": "Fleming",
"dietitian_organization_id": "123450",
"filler_email": "patient0@example.com",
"filler_id": "2718281",
"filler_is_patient": true,
"finished": true,
"form_answer_group_id": "4231415",
"form_answer_group_name": "PHQ-8 Form",
"form_answers": {
"1313912": {
"answer": "Poorly",
"created_at": "2024-07-04T10:32:12+00:00",
"custom_module_id": "1313912",
"id": "301412",
"label": "How are you feeling?"
},
"1313913": {
"answer": "Aches and pains",
"created_at": "2024-07-04T10:32:17+00:00",
"custom_module_id": "1313913",
"id": "301414",
"label": "What's the worst symptom?"
}
},
"locked_at": "2024-07-04T10:35:44+00:00",
"locked_by_email": "drfleming@example.com",
"locked_by_id": "100070",
"ordered_answers": [
{
"answer": "Happy",
"created_at": "2024-07-04T09:39:18+00:00",
"custom_module_id": "90129",
"id": "672131",
"label": "How are you feeling today?",
"read_only": false
}
],
"signings": [
{
"created_at": "2024-07-05T13:37:19+00:00",
"id": "2401221",
"user_id": "2718281"
}
],
"timing": {
"created_at": "2022-07-01T00:01:00+00:00",
"updated_at": "2022-07-01T00:01:00+00:00"
},
"use_for_charting": false,
"user_id": "2718281"
}
}
{
"$result_object_key": {
"autoscored_sections": {
"section_key": "Section key",
"section_title": "Section title",
"value": "Value of the auto-scored section"
},
"custom_module_form_id": "ID of the form (Custom Module Form) for the form response (Form Answer Group)",
"deleted_at": "Time the form response (Form Answer Group) was deleted, if it was deleted",
"dietician_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
"dietitian_email_address": "Email address of the User's (Patient's) registered dietitian",
"dietitian_first_name": "First name of the User's (Patient's) registered dietitian",
"dietitian_id": "ID of the User's (Patient's) registered dietitian",
"dietitian_last_name": "Last name of the User's (Patient's) registered dietitian",
"dietitian_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
"filler_email": "Email of the User who completed the form response (Form Answer Group)",
"filler_id": "ID of the User (Patient or Provider) who filled out the form response (Form Answer Group)",
"filler_is_patient": "Whether or not the User who filled out the form is a Patient",
"finished": "Is the form response (Form Answer Group) completed",
"form_answer_group_id": "ID of the form response (Form Answer Group)",
"form_answer_group_name": "Name of the form for the (Form Answer Group), i.e. the Custom Module Form name",
"form_answers": {
"key": null,
"value": {
"answer": "Answer to the form question (Custom Module)",
"created_at": "Time the form answer was registered",
"custom_module_id": "ID of the form question (Custom Module)",
"id": "ID for the form response (Form Answer Group) individual question answer (Form Answer)",
"label": "Form question (Custom Module) text",
"read_only": "Is this Answer a read-only value (from the Custom Module)"
}
},
"locked_at": "Time the form response (Form Answer Group) was locked, if it was locked",
"locked_by_email": "Email of the User (Provider) who locked the form response (Form Answer Group), if it was locked",
"locked_by_id": "ID of the User (Provider) who locked the form response (Form Answer Group), if it was locked",
"ordered_answers": {
"answer": "Answer to the form question (Custom Module)",
"created_at": "Time the form answer was registered",
"custom_module_id": "ID of the form question (Custom Module)",
"id": "ID for the form response (Form Answer Group) individual question answer (Form Answer)",
"label": "Form question (Custom Module) text",
"read_only": "Is this Answer a read-only value (from the Custom Module)"
},
"signings": {
"created_at": "Time the form response (Form Answer Group) signing was performed",
"id": "ID for the form response (Form Answer Group) signing event",
"user_id": "ID of the User (Provider) who signed the form response (Form Answer Group)"
},
"timing": {
"created_at": "Time the object was created",
"updated_at": "Time the object was updated"
},
"use_for_charting": "Is the form (Custom Module Form) for this form response (Form Answer Group) used for charting",
"user_id": "ID of the User (Patient) for whom the form response (Form Answer Group) pertains to"
}
}
Parameters
This field maps to the destination API id
field.
This field maps to the destination API custom_module_form_id
field.
This field maps to the destination API marked_locked
field.
HI
ID
PII
This field maps to the destination API form_answers
field.
ID
This field maps to the destination API user_id
field.
{
"$result_object_key": {
"autoscored_sections": [
{
"section_key": "results",
"section_title": "Results",
"value": 42
}
],
"custom_module_form_id": "1380649",
"deleted_at": "2024-07-04T10:35:45+00:00",
"dietician_organization_id": "123450",
"dietitian_email_address": "drfleming@example.com",
"dietitian_first_name": "Alexander",
"dietitian_id": "100070",
"dietitian_last_name": "Fleming",
"dietitian_organization_id": "123450",
"filler_email": "patient0@example.com",
"filler_id": "2718281",
"filler_is_patient": true,
"finished": true,
"form_answer_group_id": "4231415",
"form_answer_group_name": "PHQ-8 Form",
"form_answers": {
"1313912": {
"answer": "Poorly",
"created_at": "2024-07-04T10:32:12+00:00",
"custom_module_id": "1313912",
"id": "301412",
"label": "How are you feeling?"
},
"1313913": {
"answer": "Aches and pains",
"created_at": "2024-07-04T10:32:17+00:00",
"custom_module_id": "1313913",
"id": "301414",
"label": "What's the worst symptom?"
}
},
"locked_at": "2024-07-04T10:35:44+00:00",
"locked_by_email": "drfleming@example.com",
"locked_by_id": "100070",
"ordered_answers": [
{
"answer": "Happy",
"created_at": "2024-07-04T09:39:18+00:00",
"custom_module_id": "90129",
"id": "672131",
"label": "How are you feeling today?",
"read_only": false
}
],
"signings": [
{
"created_at": "2024-07-05T13:37:19+00:00",
"id": "2401221",
"user_id": "2718281"
}
],
"timing": {
"created_at": "2022-07-01T00:01:00+00:00",
"updated_at": "2022-07-01T00:01:00+00:00"
},
"use_for_charting": false,
"user_id": "2718281"
}
}
{
"$result_object_key": {
"autoscored_sections": {
"section_key": "Section key",
"section_title": "Section title",
"value": "Value of the auto-scored section"
},
"custom_module_form_id": "ID of the form (Custom Module Form) for the form response (Form Answer Group)",
"deleted_at": "Time the form response (Form Answer Group) was deleted, if it was deleted",
"dietician_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
"dietitian_email_address": "Email address of the User's (Patient's) registered dietitian",
"dietitian_first_name": "First name of the User's (Patient's) registered dietitian",
"dietitian_id": "ID of the User's (Patient's) registered dietitian",
"dietitian_last_name": "Last name of the User's (Patient's) registered dietitian",
"dietitian_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
"filler_email": "Email of the User who completed the form response (Form Answer Group)",
"filler_id": "ID of the User (Patient or Provider) who filled out the form response (Form Answer Group)",
"filler_is_patient": "Whether or not the User who filled out the form is a Patient",
"finished": "Is the form response (Form Answer Group) completed",
"form_answer_group_id": "ID of the form response (Form Answer Group)",
"form_answer_group_name": "Name of the form for the (Form Answer Group), i.e. the Custom Module Form name",
"form_answers": {
"key": null,
"value": {
"answer": "Answer to the form question (Custom Module)",
"created_at": "Time the form answer was registered",
"custom_module_id": "ID of the form question (Custom Module)",
"id": "ID for the form response (Form Answer Group) individual question answer (Form Answer)",
"label": "Form question (Custom Module) text",
"read_only": "Is this Answer a read-only value (from the Custom Module)"
}
},
"locked_at": "Time the form response (Form Answer Group) was locked, if it was locked",
"locked_by_email": "Email of the User (Provider) who locked the form response (Form Answer Group), if it was locked",
"locked_by_id": "ID of the User (Provider) who locked the form response (Form Answer Group), if it was locked",
"ordered_answers": {
"answer": "Answer to the form question (Custom Module)",
"created_at": "Time the form answer was registered",
"custom_module_id": "ID of the form question (Custom Module)",
"id": "ID for the form response (Form Answer Group) individual question answer (Form Answer)",
"label": "Form question (Custom Module) text",
"read_only": "Is this Answer a read-only value (from the Custom Module)"
},
"signings": {
"created_at": "Time the form response (Form Answer Group) signing was performed",
"id": "ID for the form response (Form Answer Group) signing event",
"user_id": "ID of the User (Provider) who signed the form response (Form Answer Group)"
},
"timing": {
"created_at": "Time the object was created",
"updated_at": "Time the object was updated"
},
"use_for_charting": "Is the form (Custom Module Form) for this form response (Form Answer Group) used for charting",
"user_id": "ID of the User (Patient) for whom the form response (Form Answer Group) pertains to"
}
}
Result Object Field Details
You can use the result of the action’s data as inputs to downstream workflow actions.
Each fetch action requires a result object key to be specified which will nest the action’s result data inside the downstream data context in the Workflow.
Here we demonstrate how to refer to this data using the prefix $result_object_key
.
ID of the form response (Form Answer Group)
$result_object_key.form_answer_group_id
"4231415"
ID
ID of the User (Patient) for whom the form response (Form Answer Group) pertains to
$result_object_key.user_id
"2718281"
ID of the form (Custom Module Form) for the form response (Form Answer Group)
$result_object_key.custom_module_form_id
"1380649"
ID
ID of the User (Patient or Provider) who filled out the form response (Form Answer Group)
$result_object_key.filler_id
"2718281"
HI
Whether or not the User who filled out the form is a Patient
$result_object_key.filler_is_patient
true
PII
Email of the User who completed the form response (Form Answer Group)
$result_object_key.filler_email
"patient0@example.com"
Is the form response (Form Answer Group) completed
$result_object_key.finished
true
Create and update times
$result_object_key.timing
{
"created_at": "2022-07-01T00:01:00+00:00",
"updated_at": "2022-07-01T00:01:00+00:00"
}
Time the object was created
$result_object_key.timing.created_at
"2022-07-01T00:01:00+00:00"
Time the object was updated
$result_object_key.timing.updated_at
"2022-07-01T00:01:00+00:00"
Time the form response (Form Answer Group) was locked, if it was locked
$result_object_key.locked_at
"2024-07-04T10:35:44+00:00"
ID of the User (Provider) who locked the form response (Form Answer Group), if it was locked
$result_object_key.locked_by_id
"100070"
Email of the User (Provider) who locked the form response (Form Answer Group), if it was locked
$result_object_key.locked_by_email
"drfleming@example.com"
Time the form response (Form Answer Group) was deleted, if it was deleted
$result_object_key.deleted_at
"2024-07-04T10:35:45+00:00"
HI
PII
Question ID (Custom Module ID) to answer (Form Answer) map (dictionary)
$result_object_key.form_answers
{
"1313912": {
"answer": "Poorly",
"created_at": "2024-07-04T10:32:12+00:00",
"custom_module_id": "1313912",
"id": "301412",
"label": "How are you feeling?"
},
"1313913": {
"answer": "Aches and pains",
"created_at": "2024-07-04T10:32:17+00:00",
"custom_module_id": "1313913",
"id": "301414",
"label": "What's the worst symptom?"
}
}
Name of the form for the (Form Answer Group), i.e. the Custom Module Form name
$result_object_key.form_answer_group_name
"PHQ-8 Form"
Organization ID for the User’s (Patient’s) registered dietitian
$result_object_key.dietician_organization_id
"123450"
Organization ID for the User’s (Patient’s) registered dietitian
$result_object_key.dietitian_organization_id
"123450"
First name of the User’s (Patient’s) registered dietitian
$result_object_key.dietitian_first_name
"Alexander"
Last name of the User’s (Patient’s) registered dietitian
$result_object_key.dietitian_last_name
"Fleming"
Email address of the User’s (Patient’s) registered dietitian
$result_object_key.dietitian_email_address
"drfleming@example.com"
ID of the User’s (Patient’s) registered dietitian
$result_object_key.dietitian_id
"100070"
ID
Signings for this form response (Form Answer Group)
$result_object_key.signings
[
{
"created_at": "2024-07-05T13:37:19+00:00",
"id": "2401221",
"user_id": "2718281"
}
]
Mapped array of: ID for the form response (Form Answer Group) signing event
$result_object_key.signings.map(x, x.id)
[
"2401221"
]
Mapped array of: Time the form response (Form Answer Group) signing was performed
$result_object_key.signings.map(x, x.created_at)
[
"2024-07-05T13:37:19+00:00"
]
ID
Mapped array of: ID of the User (Provider) who signed the form response (Form Answer Group)
$result_object_key.signings.map(x, x.user_id)
[
"2718281"
]
HI
Auto-scored sections for this form response (Form Answer Group)
$result_object_key.autoscored_sections
[
{
"section_key": "results",
"section_title": "Results",
"value": 42
}
]
Mapped array of: Section key
$result_object_key.autoscored_sections.map(x, x.section_key)
[
"results"
]
Mapped array of: Section title
$result_object_key.autoscored_sections.map(x, x.section_title)
[
"Results"
]
HI
Mapped array of: Value of the auto-scored section
$result_object_key.autoscored_sections.map(x, x.value)
[
42
]
Is the form (Custom Module Form) for this form response (Form Answer Group) used for charting
$result_object_key.use_for_charting
false
HI
PII
Ordered form answers in the order they are defined in the form (Custom Module Form)
$result_object_key.ordered_answers
[
{
"answer": "Happy",
"created_at": "2024-07-04T09:39:18+00:00",
"custom_module_id": "90129",
"id": "672131",
"label": "How are you feeling today?",
"read_only": false
}
]
Mapped array of: ID for the form response (Form Answer Group) individual question answer (Form Answer)
$result_object_key.ordered_answers.map(x, x.id)
[
"672131"
]
Mapped array of: ID of the form question (Custom Module)
$result_object_key.ordered_answers.map(x, x.custom_module_id)
[
"90129"
]
HI
PII
Mapped array of: Answer to the form question (Custom Module)
$result_object_key.ordered_answers.map(x, x.answer)
[
"Happy"
]
Mapped array of: Time the form answer was registered
$result_object_key.ordered_answers.map(x, x.created_at)
[
"2024-07-04T09:39:18+00:00"
]
Mapped array of: Form question (Custom Module) text
$result_object_key.ordered_answers.map(x, x.label)
[
"How are you feeling today?"
]
Mapped array of: Is this Answer a read-only value (from the Custom Module)
$result_object_key.ordered_answers.map(x, x.read_only)
[
false
]
{
"$result_object_key": {
"autoscored_sections": [
{
"section_key": "results",
"section_title": "Results",
"value": 42
}
],
"custom_module_form_id": "1380649",
"deleted_at": "2024-07-04T10:35:45+00:00",
"dietician_organization_id": "123450",
"dietitian_email_address": "drfleming@example.com",
"dietitian_first_name": "Alexander",
"dietitian_id": "100070",
"dietitian_last_name": "Fleming",
"dietitian_organization_id": "123450",
"filler_email": "patient0@example.com",
"filler_id": "2718281",
"filler_is_patient": true,
"finished": true,
"form_answer_group_id": "4231415",
"form_answer_group_name": "PHQ-8 Form",
"form_answers": {
"1313912": {
"answer": "Poorly",
"created_at": "2024-07-04T10:32:12+00:00",
"custom_module_id": "1313912",
"id": "301412",
"label": "How are you feeling?"
},
"1313913": {
"answer": "Aches and pains",
"created_at": "2024-07-04T10:32:17+00:00",
"custom_module_id": "1313913",
"id": "301414",
"label": "What's the worst symptom?"
}
},
"locked_at": "2024-07-04T10:35:44+00:00",
"locked_by_email": "drfleming@example.com",
"locked_by_id": "100070",
"ordered_answers": [
{
"answer": "Happy",
"created_at": "2024-07-04T09:39:18+00:00",
"custom_module_id": "90129",
"id": "672131",
"label": "How are you feeling today?",
"read_only": false
}
],
"signings": [
{
"created_at": "2024-07-05T13:37:19+00:00",
"id": "2401221",
"user_id": "2718281"
}
],
"timing": {
"created_at": "2022-07-01T00:01:00+00:00",
"updated_at": "2022-07-01T00:01:00+00:00"
},
"use_for_charting": false,
"user_id": "2718281"
}
}
{
"$result_object_key": {
"autoscored_sections": {
"section_key": "Section key",
"section_title": "Section title",
"value": "Value of the auto-scored section"
},
"custom_module_form_id": "ID of the form (Custom Module Form) for the form response (Form Answer Group)",
"deleted_at": "Time the form response (Form Answer Group) was deleted, if it was deleted",
"dietician_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
"dietitian_email_address": "Email address of the User's (Patient's) registered dietitian",
"dietitian_first_name": "First name of the User's (Patient's) registered dietitian",
"dietitian_id": "ID of the User's (Patient's) registered dietitian",
"dietitian_last_name": "Last name of the User's (Patient's) registered dietitian",
"dietitian_organization_id": "Organization ID for the User's (Patient's) registered dietitian",
"filler_email": "Email of the User who completed the form response (Form Answer Group)",
"filler_id": "ID of the User (Patient or Provider) who filled out the form response (Form Answer Group)",
"filler_is_patient": "Whether or not the User who filled out the form is a Patient",
"finished": "Is the form response (Form Answer Group) completed",
"form_answer_group_id": "ID of the form response (Form Answer Group)",
"form_answer_group_name": "Name of the form for the (Form Answer Group), i.e. the Custom Module Form name",
"form_answers": {
"key": null,
"value": {
"answer": "Answer to the form question (Custom Module)",
"created_at": "Time the form answer was registered",
"custom_module_id": "ID of the form question (Custom Module)",
"id": "ID for the form response (Form Answer Group) individual question answer (Form Answer)",
"label": "Form question (Custom Module) text",
"read_only": "Is this Answer a read-only value (from the Custom Module)"
}
},
"locked_at": "Time the form response (Form Answer Group) was locked, if it was locked",
"locked_by_email": "Email of the User (Provider) who locked the form response (Form Answer Group), if it was locked",
"locked_by_id": "ID of the User (Provider) who locked the form response (Form Answer Group), if it was locked",
"ordered_answers": {
"answer": "Answer to the form question (Custom Module)",
"created_at": "Time the form answer was registered",
"custom_module_id": "ID of the form question (Custom Module)",
"id": "ID for the form response (Form Answer Group) individual question answer (Form Answer)",
"label": "Form question (Custom Module) text",
"read_only": "Is this Answer a read-only value (from the Custom Module)"
},
"signings": {
"created_at": "Time the form response (Form Answer Group) signing was performed",
"id": "ID for the form response (Form Answer Group) signing event",
"user_id": "ID of the User (Provider) who signed the form response (Form Answer Group)"
},
"timing": {
"created_at": "Time the object was created",
"updated_at": "Time the object was updated"
},
"use_for_charting": "Is the form (Custom Module Form) for this form response (Form Answer Group) used for charting",
"user_id": "ID of the User (Patient) for whom the form response (Form Answer Group) pertains to"
}
}