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
- Hubspot
- IntakeQ
- Intercom
- Mixpanel
- Morf
- Nextdoor
- Open Phone
- Segment
- Slack
- Spruce
- Stedi
- Stripe
- Tiktok
- Twilio
Order
Event payload details and trigger documentation for Order data from Junction
{
"created_at": "2023-09-08T13:40:25.443240+00:00",
"details": {
"created_at": "2023-09-08T13:40:36.605770+00:00",
"id": "4d22e665-b845-436d-ae01-fe00f100bc1c",
"type": "walk_in_test",
"updated_at": "2023-09-08T13:40:36.605770+00:00"
},
"events": [
{
"created_at": "2023-09-08T13:40:36.628095+00:00",
"id": 4182,
"status": "received.walk_in_test.ordered"
}
],
"id": "ac1162da-0b10-4a64-9d81-30080cc919b3",
"is_labcorp_stat_order": false,
"lab_test": {
"id": "1508b669-b653-41c5-9a6d-866c65848137",
"is_active": true,
"is_delegated": false,
"lab": {
"city": "San Francisco",
"first_line_address": "123 Lab Street",
"id": 12345,
"name": "LabCorp",
"sample_types": "serum",
"slug": "labcorp",
"zipcode": "94105"
},
"markers": [
{
"id": 1481,
"name": "Hemoglobin A1c",
"slug": "hemoglobin-a1c",
"type": "quantity",
"unit": "%"
}
],
"method": "walk_in_test",
"name": "Women's Hormones Panel",
"sample_type": "serum",
"slug": "womens_hormones_panel"
},
"notes": "This is a note",
"patient_details": {
"email": "patient@gmail.com",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+5551231234"
},
"physician": {
"first_name": "Joseph",
"last_name": "Lister",
"npi": "1093125863"
},
"sample_id": "QDWYKK7PAP23",
"status": "completed",
"updated_at": "2023-09-08T13:42:51.206896+00:00",
"user_id": "a8dcc7e1-f47a-4c0c-89be-88d3d4f15834"
}
{
"created_at": "When this order was created",
"details": {
"created_at": "When these order details were created",
"id": "Unique identifier for the order details",
"type": "Type of the order",
"updated_at": "When these order details were last updated"
},
"events": {
"created_at": "When this event occurred",
"id": "Unique identifier for the event",
"status": "Status update from this event"
},
"id": "Unique identifier for the order",
"is_labcorp_stat_order": "Whether this is a STAT (urgent) LabCorp order",
"lab_test": {
"id": "Unique identifier for the lab test",
"is_active": "Whether this lab test is currently active",
"is_delegated": "Whether this lab test is delegated",
"lab": {
"city": "City where the lab is located",
"first_line_address": "First line of the lab's address",
"id": "Unique identifier for the lab",
"name": "Name of the laboratory",
"sample_types": "Types of samples this lab can process",
"slug": "URL-friendly identifier for the lab",
"zipcode": "ZIP code of the lab's location"
},
"markers": {
"id": "Unique identifier for the marker",
"name": "Name of the marker",
"slug": "URL-friendly identifier for the marker",
"type": "Type of the marker measurement",
"unit": "Unit of measurement for the marker"
},
"method": "Method of sample collection",
"name": "Name of the lab test",
"sample_type": "Type of sample required",
"slug": "URL-friendly identifier for the lab test"
},
"notes": "Additional notes about the order",
"patient_details": {
"email": "Email address of the patient",
"first_name": "Patient's first name",
"last_name": "Patient's last name",
"phone_number": "Patient's phone number"
},
"physician": {
"first_name": "Physician's first name",
"last_name": "Physician's last name",
"npi": "National Provider Identifier"
},
"sample_id": "Unique identifier for the sample",
"status": "Current status of the order",
"updated_at": "When this order was last updated",
"user_id": "ID of the user this order belongs to"
}
Events
Triggering Webhook Types
The following event types are associated with the Order event payload from Junction.
Junction Lab Order Status Update
{
"created_at": "2023-09-08T13:40:25.443240+00:00",
"details": {
"created_at": "2023-09-08T13:40:36.605770+00:00",
"id": "4d22e665-b845-436d-ae01-fe00f100bc1c",
"type": "walk_in_test",
"updated_at": "2023-09-08T13:40:36.605770+00:00"
},
"events": [
{
"created_at": "2023-09-08T13:40:36.628095+00:00",
"id": 4182,
"status": "received.walk_in_test.ordered"
}
],
"id": "ac1162da-0b10-4a64-9d81-30080cc919b3",
"is_labcorp_stat_order": false,
"lab_test": {
"id": "1508b669-b653-41c5-9a6d-866c65848137",
"is_active": true,
"is_delegated": false,
"lab": {
"city": "San Francisco",
"first_line_address": "123 Lab Street",
"id": 12345,
"name": "LabCorp",
"sample_types": "serum",
"slug": "labcorp",
"zipcode": "94105"
},
"markers": [
{
"id": 1481,
"name": "Hemoglobin A1c",
"slug": "hemoglobin-a1c",
"type": "quantity",
"unit": "%"
}
],
"method": "walk_in_test",
"name": "Women's Hormones Panel",
"sample_type": "serum",
"slug": "womens_hormones_panel"
},
"notes": "This is a note",
"patient_details": {
"email": "patient@gmail.com",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+5551231234"
},
"physician": {
"first_name": "Joseph",
"last_name": "Lister",
"npi": "1093125863"
},
"sample_id": "QDWYKK7PAP23",
"status": "completed",
"updated_at": "2023-09-08T13:42:51.206896+00:00",
"user_id": "a8dcc7e1-f47a-4c0c-89be-88d3d4f15834"
}
{
"created_at": "When this order was created",
"details": {
"created_at": "When these order details were created",
"id": "Unique identifier for the order details",
"type": "Type of the order",
"updated_at": "When these order details were last updated"
},
"events": {
"created_at": "When this event occurred",
"id": "Unique identifier for the event",
"status": "Status update from this event"
},
"id": "Unique identifier for the order",
"is_labcorp_stat_order": "Whether this is a STAT (urgent) LabCorp order",
"lab_test": {
"id": "Unique identifier for the lab test",
"is_active": "Whether this lab test is currently active",
"is_delegated": "Whether this lab test is delegated",
"lab": {
"city": "City where the lab is located",
"first_line_address": "First line of the lab's address",
"id": "Unique identifier for the lab",
"name": "Name of the laboratory",
"sample_types": "Types of samples this lab can process",
"slug": "URL-friendly identifier for the lab",
"zipcode": "ZIP code of the lab's location"
},
"markers": {
"id": "Unique identifier for the marker",
"name": "Name of the marker",
"slug": "URL-friendly identifier for the marker",
"type": "Type of the marker measurement",
"unit": "Unit of measurement for the marker"
},
"method": "Method of sample collection",
"name": "Name of the lab test",
"sample_type": "Type of sample required",
"slug": "URL-friendly identifier for the lab test"
},
"notes": "Additional notes about the order",
"patient_details": {
"email": "Email address of the patient",
"first_name": "Patient's first name",
"last_name": "Patient's last name",
"phone_number": "Patient's phone number"
},
"physician": {
"first_name": "Physician's first name",
"last_name": "Physician's last name",
"npi": "National Provider Identifier"
},
"sample_id": "Unique identifier for the sample",
"status": "Current status of the order",
"updated_at": "When this order was last updated",
"user_id": "ID of the user this order belongs to"
}
Payload Field Details
Unique identifier for the order
id
"ac1162da-0b10-4a64-9d81-30080cc919b3"
ID of the user this order belongs to
user_id
"a8dcc7e1-f47a-4c0c-89be-88d3d4f15834"
Description coming soon
lab_test
{
"id": "1508b669-b653-41c5-9a6d-866c65848137",
"is_active": true,
"is_delegated": false,
"lab": {
"city": "San Francisco",
"first_line_address": "123 Lab Street",
"id": 12345,
"name": "LabCorp",
"sample_types": "serum",
"slug": "labcorp",
"zipcode": "94105"
},
"markers": [
{
"id": 1481,
"name": "Hemoglobin A1c",
"slug": "hemoglobin-a1c",
"type": "quantity",
"unit": "%"
}
],
"method": "walk_in_test",
"name": "Women's Hormones Panel",
"sample_type": "serum",
"slug": "womens_hormones_panel"
}
Unique identifier for the lab test
lab_test.id
"1508b669-b653-41c5-9a6d-866c65848137"
Name of the lab test
lab_test.name
"Women's Hormones Panel"
URL-friendly identifier for the lab test
lab_test.slug
"womens_hormones_panel"
Type of sample required
lab_test.sample_type
"serum"
Whether this lab test is currently active
lab_test.is_active
true
Whether this lab test is delegated
lab_test.is_delegated
false
Description coming soon
lab_test.lab
{
"city": "San Francisco",
"first_line_address": "123 Lab Street",
"id": 12345,
"name": "LabCorp",
"sample_types": "serum",
"slug": "labcorp",
"zipcode": "94105"
}
Unique identifier for the lab
lab_test.lab.id
12345
Name of the laboratory
lab_test.lab.name
"LabCorp"
URL-friendly identifier for the lab
lab_test.lab.slug
"labcorp"
Types of samples this lab can process
lab_test.lab.sample_types
"serum"
First line of the lab’s address
lab_test.lab.first_line_address
"123 Lab Street"
City where the lab is located
lab_test.lab.city
"San Francisco"
ZIP code of the lab’s location
lab_test.lab.zipcode
"94105"
Description coming soon
lab_test.markers
[
{
"id": 1481,
"name": "Hemoglobin A1c",
"slug": "hemoglobin-a1c",
"type": "quantity",
"unit": "%"
}
]
Mapped array of: Unique identifier for the marker
lab_test.markers.map(x, x.id)
[
1481
]
Mapped array of: Name of the marker
lab_test.markers.map(x, x.name)
[
"Hemoglobin A1c"
]
Mapped array of: URL-friendly identifier for the marker
lab_test.markers.map(x, x.slug)
[
"hemoglobin-a1c"
]
Mapped array of: Type of the marker measurement
lab_test.markers.map(x, x.type)
[
"quantity"
]
Mapped array of: Unit of measurement for the marker
lab_test.markers.map(x, x.unit)
[
"%"
]
Method of sample collection
lab_test.method
"walk_in_test"
Description coming soon
details
{
"created_at": "2023-09-08T13:40:36.605770+00:00",
"id": "4d22e665-b845-436d-ae01-fe00f100bc1c",
"type": "walk_in_test",
"updated_at": "2023-09-08T13:40:36.605770+00:00"
}
Unique identifier for the order details
details.id
"4d22e665-b845-436d-ae01-fe00f100bc1c"
Type of the order
details.type
"walk_in_test"
When these order details were created
details.created_at
"2023-09-08T13:40:36.605770+00:00"
When these order details were last updated
details.updated_at
"2023-09-08T13:40:36.605770+00:00"
Additional notes about the order
notes
"This is a note"
Description coming soon
patient_details
{
"email": "patient@gmail.com",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+5551231234"
}
Email address of the patient
patient_details.email
"patient@gmail.com"
Patient’s first name
patient_details.first_name
"John"
Patient’s last name
patient_details.last_name
"Doe"
Patient’s phone number
patient_details.phone_number
"+5551231234"
Description coming soon
physician
{
"first_name": "Joseph",
"last_name": "Lister",
"npi": "1093125863"
}
Physician’s first name
physician.first_name
"Joseph"
Physician’s last name
physician.last_name
"Lister"
National Provider Identifier
physician.npi
"1093125863"
Whether this is a STAT (urgent) LabCorp order
is_labcorp_stat_order
false
Unique identifier for the sample
sample_id
"QDWYKK7PAP23"
Current status of the order
status
"completed"
Description coming soon
events
[
{
"created_at": "2023-09-08T13:40:36.628095+00:00",
"id": 4182,
"status": "received.walk_in_test.ordered"
}
]
Mapped array of: Unique identifier for the event
events.map(x, x.id)
[
4182
]
Mapped array of: When this event occurred
events.map(x, x.created_at)
[
"2023-09-08T13:40:36.628095+00:00"
]
Mapped array of: Status update from this event
events.map(x, x.status)
[
"received.walk_in_test.ordered"
]
When this order was created
created_at
"2023-09-08T13:40:25.443240+00:00"
When this order was last updated
updated_at
"2023-09-08T13:42:51.206896+00:00"
{
"created_at": "2023-09-08T13:40:25.443240+00:00",
"details": {
"created_at": "2023-09-08T13:40:36.605770+00:00",
"id": "4d22e665-b845-436d-ae01-fe00f100bc1c",
"type": "walk_in_test",
"updated_at": "2023-09-08T13:40:36.605770+00:00"
},
"events": [
{
"created_at": "2023-09-08T13:40:36.628095+00:00",
"id": 4182,
"status": "received.walk_in_test.ordered"
}
],
"id": "ac1162da-0b10-4a64-9d81-30080cc919b3",
"is_labcorp_stat_order": false,
"lab_test": {
"id": "1508b669-b653-41c5-9a6d-866c65848137",
"is_active": true,
"is_delegated": false,
"lab": {
"city": "San Francisco",
"first_line_address": "123 Lab Street",
"id": 12345,
"name": "LabCorp",
"sample_types": "serum",
"slug": "labcorp",
"zipcode": "94105"
},
"markers": [
{
"id": 1481,
"name": "Hemoglobin A1c",
"slug": "hemoglobin-a1c",
"type": "quantity",
"unit": "%"
}
],
"method": "walk_in_test",
"name": "Women's Hormones Panel",
"sample_type": "serum",
"slug": "womens_hormones_panel"
},
"notes": "This is a note",
"patient_details": {
"email": "patient@gmail.com",
"first_name": "John",
"last_name": "Doe",
"phone_number": "+5551231234"
},
"physician": {
"first_name": "Joseph",
"last_name": "Lister",
"npi": "1093125863"
},
"sample_id": "QDWYKK7PAP23",
"status": "completed",
"updated_at": "2023-09-08T13:42:51.206896+00:00",
"user_id": "a8dcc7e1-f47a-4c0c-89be-88d3d4f15834"
}
{
"created_at": "When this order was created",
"details": {
"created_at": "When these order details were created",
"id": "Unique identifier for the order details",
"type": "Type of the order",
"updated_at": "When these order details were last updated"
},
"events": {
"created_at": "When this event occurred",
"id": "Unique identifier for the event",
"status": "Status update from this event"
},
"id": "Unique identifier for the order",
"is_labcorp_stat_order": "Whether this is a STAT (urgent) LabCorp order",
"lab_test": {
"id": "Unique identifier for the lab test",
"is_active": "Whether this lab test is currently active",
"is_delegated": "Whether this lab test is delegated",
"lab": {
"city": "City where the lab is located",
"first_line_address": "First line of the lab's address",
"id": "Unique identifier for the lab",
"name": "Name of the laboratory",
"sample_types": "Types of samples this lab can process",
"slug": "URL-friendly identifier for the lab",
"zipcode": "ZIP code of the lab's location"
},
"markers": {
"id": "Unique identifier for the marker",
"name": "Name of the marker",
"slug": "URL-friendly identifier for the marker",
"type": "Type of the marker measurement",
"unit": "Unit of measurement for the marker"
},
"method": "Method of sample collection",
"name": "Name of the lab test",
"sample_type": "Type of sample required",
"slug": "URL-friendly identifier for the lab test"
},
"notes": "Additional notes about the order",
"patient_details": {
"email": "Email address of the patient",
"first_name": "Patient's first name",
"last_name": "Patient's last name",
"phone_number": "Patient's phone number"
},
"physician": {
"first_name": "Physician's first name",
"last_name": "Physician's last name",
"npi": "National Provider Identifier"
},
"sample_id": "Unique identifier for the sample",
"status": "Current status of the order",
"updated_at": "When this order was last updated",
"user_id": "ID of the user this order belongs to"
}