Skip to main content

Hey everyone,

 

I'm working on setting up an Application Channel to connect to my backend for sending and receiving messages. I'm trying to understand the setup(using the template to help understand), but it feels like the guide leaves out some key details.

 

Here are a few questions I have:

  1. When configuring the Channel Type in my app, what exactly is the difference between ‘Contact Types’ (Email, Phone, Custom)?
  2. When adding the channel to my workspace, it asks for a token. What value should this be for the template to work correctly?

     

  3. This might relate to question 2, but every time I add the new channel, I immediately get an error that says, “Our access to this account was revoked. New messages will not be imported until you reauthorize,” with a “Reauthorize” button. Clicking it doesn’t trigger anything on the server side, and I’m not seeing any issues in the console logs I added. Any ideas on how to resolve this?

     

Excited to make Front a core tool for our team!

Hi @roofquotes

Great questions. I’ll provide some additional insight into each below:

1.  Our different contact sources can be found here: https://dev.frontapp.com/reference/contacts. You should configure accordingly with the types of messages that are being sent via your application channel. 

2.   This is the partner-side auth for the user to authenticate on the external server side. This may be the application user’s API token. 

3. This could also be related to step two, that you mentioned, if the token is incorrect and rejected by the server. When connecting your channel in Front, it will send an authorization request to your channel. If the request fails or your server is not running to receive it, then setting up the channel will fail. Refer to the Instantiating a new channel section to learn about the code that handles the initial authorization request. You may want to check to ensure that the server is available and running. If so, does recreating the channel show a request to your sever upon initial connection (vs reauthorizing)?

Best, 
Justin


Reply