Chat:Bridge Component Architecture
![CB architecture.png](../../__attachments/657061/CB%20Architecture.png?inst-v=76dedb69-d465-4ed9-a7cd-d1dc84701fe3)
Components
Chat:Bridge Salesforce Package
Chat:Bridge App for Slack (hosted on Salesforce Heroku Platform)
Salesforce REST API
Slack REST API
Postgres DB (Salesforce Heroku Add-on)
Application Cache (Heroku Add-on) for transient context and data
Data flow from Salesforce to Slack through the Chat:Bridge App:
Chatter Feed and Comments
Files (Attachments or Embedded Images) from Salesforce Objects to Slack
Salesforce Object Data via pre-defined Layouts
Data flow from Slack to Salesforce through the Chat:Bridge App:
Slack Message Content
Slack Files
Search Salesforce Objects; Retrieve Details based on pre-defined Object Page Layout