Skip to main content

I’m looking for a way to include a link that users can click on to compose a new Twilio SMS in Front. Ideally it would work similar to clicking the phone number on a contact record (where it opens a compose window with the To: field already pointing to the phone number. 

 

Is this possible today? It would be great if it was possible to just have a link like app.front.com/compose?type=sms&to=1234567891 but I’m also open to using the core API to create a new conversation and then link to that conversation. 

 

Hi twilanswer,

Yes, you can totally do this!  It may look a little odd, but we have a Help Center article on how to open Front’s composer with mailto: links and SMS numbers:

https://help.front.com/en/articles/2531

Please let me know if that works for you!


@evano Thank you for sharing. Unfortunately I’m having a bit of trouble implementing it consistently. Here’s what I’m seeing: 

  • If I try to use the mailto: approach, it works well on web and desktop (opening the compose window), but mobile opens my iPhone mail app and tries to send an email to the phone number.
    • Here is an example conversation. 
  • If I try to use the mailto-frontapp approach, clicking the link does not do anything in any application (web, desktop, or mobile) 
    • For debugging purposes, when I “inspect element” in Chrome, I can see that the link doesn’t actually have an href attribute. This is strange because I’m able to see it for the standard mailto approach. 
    • Here is an example conversation. 
  • Using the  app.frontapp.com/compose approach does not appear to work for SMS composing (see below - it does not fill the “To” line. 
  •  


Reply