curl --request GET \
--url https://app.herondata.io/api/crm_integrations \
--header 'x-api-key: <api-key>'{
"crm_integrations": [
{
"config": {
"child_file_filtering_enabled": true,
"data_source_accounts_config": {
"external_name": "Account",
"key": "Account",
"description": "A company or person",
"external_lookup_config": {
"external_lookup_fields_and": [
"<string>"
],
"external_lookup_fields_or": [
"<string>"
],
"sort_field_name": "CreatedDate",
"sort_order": "ASC"
},
"field_mappings": [
{
"field_name": "Name",
"external_lookup_field_name": null,
"external_object_name_for_id": "Account",
"heron_company_attribute_label": "owner_1_first_name",
"max_length": 255,
"overwrite_on_update": true,
"regex_remove": "pattern",
"required": true,
"static_value": "static value",
"static_value_key": "date_today",
"value_mapping_name": "state",
"value_type": "Text"
}
],
"is_optional": false,
"required_ids": [
{
"external_name": "Account",
"alias": "Company"
}
],
"static_data": [
{
"key": "status",
"value": "active"
}
]
},
"default_id": {
"external_name": "Account",
"alias": "Company"
},
"object_configs": [],
"policy_evaluation_config": {
"external_object_name": "Opportunity",
"failure_reason_external_name": "Failure_Reason__c",
"result_external_name": "Submission_Result_from_Heron__c"
},
"small_file_filtering_enabled": false,
"sync_file_classes": {},
"value_mappings": []
},
"instance_url": "https://sandbox.salesforce.com",
"provider": "<string>",
"failure_notification_channel": null,
"heron_id": "<string>",
"is_enabled": true,
"is_live": true
}
]
}Get a list of CRM Integrations
curl --request GET \
--url https://app.herondata.io/api/crm_integrations \
--header 'x-api-key: <api-key>'{
"crm_integrations": [
{
"config": {
"child_file_filtering_enabled": true,
"data_source_accounts_config": {
"external_name": "Account",
"key": "Account",
"description": "A company or person",
"external_lookup_config": {
"external_lookup_fields_and": [
"<string>"
],
"external_lookup_fields_or": [
"<string>"
],
"sort_field_name": "CreatedDate",
"sort_order": "ASC"
},
"field_mappings": [
{
"field_name": "Name",
"external_lookup_field_name": null,
"external_object_name_for_id": "Account",
"heron_company_attribute_label": "owner_1_first_name",
"max_length": 255,
"overwrite_on_update": true,
"regex_remove": "pattern",
"required": true,
"static_value": "static value",
"static_value_key": "date_today",
"value_mapping_name": "state",
"value_type": "Text"
}
],
"is_optional": false,
"required_ids": [
{
"external_name": "Account",
"alias": "Company"
}
],
"static_data": [
{
"key": "status",
"value": "active"
}
]
},
"default_id": {
"external_name": "Account",
"alias": "Company"
},
"object_configs": [],
"policy_evaluation_config": {
"external_object_name": "Opportunity",
"failure_reason_external_name": "Failure_Reason__c",
"result_external_name": "Submission_Result_from_Heron__c"
},
"small_file_filtering_enabled": false,
"sync_file_classes": {},
"value_mappings": []
},
"instance_url": "https://sandbox.salesforce.com",
"provider": "<string>",
"failure_notification_channel": null,
"heron_id": "<string>",
"is_enabled": true,
"is_live": true
}
]
}OK
Show child attributes
The configuration for the CRM integration
Show child attributes
Whether to filter out child files (files that have a parent file)
The data source accounts configuration for the CRM integration
Show child attributes
The exact name of the object in the CRM
"Account"
key should be unique among objects within an integration
"Account"
Human-readable description of the object
"A company or person"
Configuration for external lookup
Show child attributes
External lookup fields are what is used to try match potential new objects to existing objects in the CRM (i.e., for deduplication). Used in the and condition.
External lookup fields are what is used to try match potential new objects to existing objects in the CRM (i.e., for deduplication). Used in the or condition.
The field name to sort by when doing the external lookup
"CreatedDate"
The sort order when doing the external lookup
ASC, DESC Mapping for Heron fields to object fields in CRM
Show child attributes
The name of the field in the CRM
"Name"
Override field name to use for external lookup instead of the field_name
The external object whose id we want to use populate the field value
"Account"
The label of the company attribute in Heron
"owner_1_first_name"
The max length of the crm field this should be mapped to. Used for string fields. If set, the string will be truncated.
255
Whether the field should be overwritten on update. True by default. When False, the field will only be set on creation
true
Any pattern that should be removed from the company attribute value
"pattern"
Whether the field is required
true
A static value for the field
"static value"
The value key of the static data
date_today, Name of the value mapping to use for the field
"state"
The crm type of the field
"Text"
Whether the object is optional. Optional means that if object fails it will not stop execution of CRM sync
List of object ids that new object needs
Show child attributes
Stores static data used by the integration, for example status fields
The object configurations for the CRM integration
Show child attributes
The exact name of the object in the CRM
"Account"
key should be unique among objects within an integration
"Account"
Human-readable description of the object
"A company or person"
Configuration for external lookup
Show child attributes
External lookup fields are what is used to try match potential new objects to existing objects in the CRM (i.e., for deduplication). Used in the and condition.
External lookup fields are what is used to try match potential new objects to existing objects in the CRM (i.e., for deduplication). Used in the or condition.
The field name to sort by when doing the external lookup
"CreatedDate"
The sort order when doing the external lookup
ASC, DESC Mapping for Heron fields to object fields in CRM
Show child attributes
The name of the field in the CRM
"Name"
Override field name to use for external lookup instead of the field_name
The external object whose id we want to use populate the field value
"Account"
The label of the company attribute in Heron
"owner_1_first_name"
The max length of the crm field this should be mapped to. Used for string fields. If set, the string will be truncated.
255
Whether the field should be overwritten on update. True by default. When False, the field will only be set on creation
true
Any pattern that should be removed from the company attribute value
"pattern"
Whether the field is required
true
A static value for the field
"static value"
The value key of the static data
date_today, Name of the value mapping to use for the field
"state"
The crm type of the field
"Text"
Whether the object is optional. Optional means that if object fails it will not stop execution of CRM sync
List of object ids that new object needs
Stores static data used by the integration, for example status fields
The policy evaluation configuration for the CRM integration
Show child attributes
The object to write policy evaluation results to
"Opportunity"
The field to write policy evaluation failure reason to
"Failure_Reason__c"
The field to write policy evaluation results
"Submission_Result_from_Heron__c"
Whether to filter out files smaller than 400 bytes
A list of value mappings for the CRM integration
Show child attributes
The name of the value mapping
"Status"
The default value to use when no match is found
"Default"
A human-readable description of the value mapping
"The status of the company"
Whether to use partial match when mapping values
Base URL of the CRM integration
"https://sandbox.salesforce.com"
The CRM provider
The channel to send failure notifications to
Whether the integration is enabled
true
Whether the integration is live
true
Was this page helpful?