A channel is a communication stream that can be connected to Front. The most common channel type is email, but Twitter DMs, Facebook Messenger, and SMS are other great examples of communication channels that teams can use to send and receive messages in Front.
With the Channels API, a new channel type will display in the “Add a Channel” menu for your team, or for all Front teams if you apply to publish your app, along with the other channels that come out of the box with Front. Teams can then send and receive messages over that channel with all the collaboration, automation, and integration Front offers.
Channels can be built using Front’s APIs for a wide variety of use cases, including:
- logging phone call records into Front
- synchronizing third party SMS providers into Front
- connecting a custom website live chat with Front
Replies to channel messages must use the same channel.
You cannot receive an inbound message through a channel, and then reply to the message via another Front inbox such as your personal email account or a team inbox. If you would like to receive a message via a non-native channel and then reply to the message via another Front inbox, use the Import Message API endpoint instead.
There are two types of channels that can be built through the Front API — Custom Channels and Application Channels.
|Feature||Application Channel||Custom Channel|
|Receive inbound messages|
|Compose outbound messages||(but disabled by default)|
|Compose new outbound messages with replies threaded in the same conversation|
|Support for the Advanced composer|
|Support for the chat timeline|
|Access to the Channel API|
|Access to the Receive custom messages endpoint within the Core API|
|Ability to configure the channel settings directly in Front|
Aside from extra features, one of the key differences is that an Application channel allows you to create a new channel type that can be made available to all Front customers, whereas a Custom channel is designed to be used only by your Front instance.
Application Channels do not have to be made public.
Although Application Channels are the only channel type that allows you to publish a channel for all Front customers to use, you can still create an Application Channel that is private to your company.
Custom channels have limitations when composing outbound messages, which are disabled by default.
Given these considerations, you should build an Application channel if you meet any of the following conditions:
- You want to publish your channel as a public integration for any Front customer to use
- Your channel needs to support composing new outbound messages from Front that keep subsequent replies threaded within the same conversation. Custom channels still support creating new outbound messages if you enable the appropriate setting, but because the replies aren't threaded in the same conversation, custom channels are better suited to use cases focused on replying to incoming conversations.
- Application Channels have access to the Channel API, whereas Custom Channels only have access to the Receive custom messages endpoint within the Core API.
- You want your channel to support the Advanced composer.
Once you’ve decided on whether to build a custom channel or application channel, you can continue with our dedicated guides:
- Getting Started with Application Channels (includes a working sample channel template on GitHub)
- Fundamentals of Application Channels
- Application Channel API Reference
Updated 7 months ago