{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Workflows & Webhooks","type":"basic","slug":"workflows-webhooks","excerpt":"","body":"## Workflows\n\nWorkflows are a powerful framework that allows you to set up custom logic within your Sonar instance. Workflows allow Sonar to seamlessly plug into even the most complex processes as well as easily add additional functionality and customization to your Sonar account.\n\n## Common Sonar Workflows:\n* **Lead Scoring**\n   * Use information you collect about leads with Sonar’s lead qualification bot or information from your CRM to generate a score for each lead that comes through the funnel.\n* **Force Email Notifications** \n   * Enforces a User's email notification settings.\n* **Close Idle Customers (Company-Wide)** \n   * Closes customers who haven't sent or received a new message in a certain time period, applies to any customer within the entire company. This check is run once per hour.\n   * Settings:\n        * Minutes without messages before closing\n        * Agent who will be recorded as the “closer” of the thread\n* **Close Idle Customers (Team-based)**\n   * Closes customers who haven't had a new message in a while. It's run once an hour.\n* **Assign To Team Based On Property** \n   * Assign a customer to a team based on a property getting set on them. Also removes them from other teams that are associated with this workflow.\n* **Remove From Teams Based On Property Deletion** \n   * Removing a customer from teams based on a property getting deleted.\n* **Conversion Based On Property** \n   * Create a conversion event on a customer each time a specified property changes (e.g. to create a funnel as an SFDC-mapped property changes).\n* **Add To Campaign Based On Property** \n   * Add a customer to a campaign when a certain property is added to that customer\n* **Add To Follow-Up Based On Property** \n   * Add a customer to a follow up when a certain property is added to that customer\n* **Send Message Based On Property** \n   * Send a customer a message when a certain property is added to that customer\n* **Cancel All Follow-Ups Based On Property**\n   * Cancels all follow-ups based on a certain property associated to that customer\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Have a workflow request? Contact us at contact:::at:::sendsonar.com.\",\n  \"title\": \"Workflow Request\"\n}\n[/block]\n## Webhooks & Fully Featured API\n\nOur API and webhooks allow you to integrate Sonar with your internal systems. These two functionalities allow you to automate workflow actions and be notified when specified actions have taken place. Webhooks are a way for two websites/servers to talk to each other. We setup webhooks to be triggered whenever an assortment of different actions happen on Sonar. These webhooks get sent to a 3rd party, which can be ingested and have business logic executed based on that webhook. For example, we can send a webhook every time a new lead is qualified. That webhook can then be sent to our partner and then they would know whenever a new lead is qualified and can add a note in their system about it.\n\nFor more API information regarding Webhooks, please visit the following pages:\n* [Custom Webhooks](doc:custom-webhooks) \n* [Get Webhooks](doc:testinput) \n* [Create Webhook](doc:create-webhook) \n* [Update Webhook](doc:update-webhook) \n* [Delete Webhook](doc:delete-webhooks)","updates":[],"order":25,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e56e6ae0c58b700480afd8c","project":"55208137623ff50d009b2bec","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["55208138623ff50d009b2bf0","55494a226a82a10d00817ae5","55494ba7ee219b0d001743c8","55494bc1ee219b0d001743cc","56ead8c1df765617008bccaf","573a2073dd007d1700cf288f","579695b1f64c9f0e007cd76c","57969e3dfa1ff60e006a1274","579a4592fd9f3c0e008e4f4a","57ab9afe54fa780e006c5430","57b784f5b7ebd60e009cb4a6","58f686818193090f008cec76","59e79fbd4cf31900341d50c6","5b2436973fd93f0003dcf99d","5d824fb2ce98a801366098a2"],"_id":"55208137623ff50d009b2bef","createdAt":"2015-04-05T00:26:31.564Z","releaseDate":"2015-04-05T00:26:31.563Z","__v":15,"project":"55208137623ff50d009b2bec"},"category":{"sync":{"isSync":false,"url":""},"pages":["55496509c634cf2d0012507c","5549650ecd09b317005f8f4e","55496535a5ecbc1900321683","5549654dcd09b317005f8f53","55496557c634cf2d0012507e","55496563cd09b317005f8f55","55496673a5ecbc190032168a","55496682cd09b317005f8f5e","5549668da5ecbc190032168c","55497c3ea5ecbc19003216bd","55c1047d81dc010d00d50678","55c3cad1b0778d2100a7ebd8","5638e41e3539050d0008205f","563a2ac1f0c29b1700daaf98","563a2b7ef0c29b1700daafa2","563a2d83d25e8919005f3f05"],"title":"Features","slug":"features","order":2,"from_sync":false,"reference":true,"_id":"55494bc1ee219b0d001743cc","project":"55208137623ff50d009b2bec","version":"55208137623ff50d009b2bef","__v":16,"createdAt":"2015-05-05T23:01:21.408Z"},"user":"5db22ff7092919001287fb3a","createdAt":"2020-02-26T21:44:14.057Z","__v":0,"parentDoc":null}

Workflows & Webhooks


## Workflows Workflows are a powerful framework that allows you to set up custom logic within your Sonar instance. Workflows allow Sonar to seamlessly plug into even the most complex processes as well as easily add additional functionality and customization to your Sonar account. ## Common Sonar Workflows: * **Lead Scoring** * Use information you collect about leads with Sonar’s lead qualification bot or information from your CRM to generate a score for each lead that comes through the funnel. * **Force Email Notifications** * Enforces a User's email notification settings. * **Close Idle Customers (Company-Wide)** * Closes customers who haven't sent or received a new message in a certain time period, applies to any customer within the entire company. This check is run once per hour. * Settings: * Minutes without messages before closing * Agent who will be recorded as the “closer” of the thread * **Close Idle Customers (Team-based)** * Closes customers who haven't had a new message in a while. It's run once an hour. * **Assign To Team Based On Property** * Assign a customer to a team based on a property getting set on them. Also removes them from other teams that are associated with this workflow. * **Remove From Teams Based On Property Deletion** * Removing a customer from teams based on a property getting deleted. * **Conversion Based On Property** * Create a conversion event on a customer each time a specified property changes (e.g. to create a funnel as an SFDC-mapped property changes). * **Add To Campaign Based On Property** * Add a customer to a campaign when a certain property is added to that customer * **Add To Follow-Up Based On Property** * Add a customer to a follow up when a certain property is added to that customer * **Send Message Based On Property** * Send a customer a message when a certain property is added to that customer * **Cancel All Follow-Ups Based On Property** * Cancels all follow-ups based on a certain property associated to that customer [block:callout] { "type": "info", "body": "Have a workflow request? Contact us at [email protected]", "title": "Workflow Request" } [/block] ## Webhooks & Fully Featured API Our API and webhooks allow you to integrate Sonar with your internal systems. These two functionalities allow you to automate workflow actions and be notified when specified actions have taken place. Webhooks are a way for two websites/servers to talk to each other. We setup webhooks to be triggered whenever an assortment of different actions happen on Sonar. These webhooks get sent to a 3rd party, which can be ingested and have business logic executed based on that webhook. For example, we can send a webhook every time a new lead is qualified. That webhook can then be sent to our partner and then they would know whenever a new lead is qualified and can add a note in their system about it. For more API information regarding Webhooks, please visit the following pages: * [Custom Webhooks](doc:custom-webhooks) * [Get Webhooks](doc:testinput) * [Create Webhook](doc:create-webhook) * [Update Webhook](doc:update-webhook) * [Delete Webhook](doc:delete-webhooks)