Common use cases of plugins include:
- Link or create entities in a CRM, a knowledge base, or any other tool
- Show additional data about your customers from your backend, knowledge base, or any other source
- Take actions directly inside Front on behalf of a user so you can automate a workflow
- Process or encrypt attachments and files that can be added to messages through the composer
Plugins come in two flavors: sidebar plugins and composer plugins. The main differences between the plugin types is where they display in the Front UI and the Context they have access to.
Sidebar plugins display in the integrations sidebar panel on the right-hand side of the Front UI. Users see a list of sidebar plugins they have access to, with an icon and name for each plugin. Admins enable which plugins are available to users, and users can click Manage in the sidebar panel to pin or unpin plugins from the panel.
When a user clicks on the plugin, the plugin loads the hosted application in the sidebar (roughly 25-30% of the screen width, but can be adjusted by the user) and retrieves data from the no, single, or multi-Conversation context based on the conversations the user has selected. For example, the following plugin brings in Salesforce data about the recipient of the selected conversation.
Composer plugins display as icons in the message composer toolbar. All composer plugins that are available to a company (whether as a custom plugin or from having been enabled by an admin on the App Store) will display in every teammate's composer toolbar.
When a user clicks on the composer plugin icon in the composer toolbar, the plugin loads the hosted application in a composer modal and retrieves data from the messageComposer context based on the conversation that was selected when the user clicked the composer plugin icon.
The following image shows an example of a composer plugin, which allows users to select files from Google Drive to add them to the message.
Check out our Getting Started guide to learn how to build a plugin.
Check out our Tools page to find resources and sample code that facilitate the development of plugins.
Use the Front UI Kit to access ready-made React components and save on development time.
Check out our Sample Applications for sample code demonstrating real-world use cases for plugins.
Learn about the methods and data models that the Plugin SDK provides by referring to the Plugin SDK Reference.
Updated 10 days ago