The Front API empowers you to automate the handling of your team's email inbox, collaborate on conversations, and streamline communication workflows. By harnessing this API on Pipedream, you can craft custom integrations that trigger actions in Front in response to events, synchronize data across platforms, and augment your team's productivity with automated tasks. This can include creating or updating conversations and contacts, managing tags, or firing off custom automation rules within Front.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
frontapp: {
type: "app",
app: "frontapp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api2.frontapp.com/me`,
headers: {
Authorization: `Bearer ${this.frontapp.$auth.oauth_access_token}`,
},
})
},
})
Automated Customer Support Ticket Creation: Trigger a workflow on Pipedream when an email arrives at a certain inbox in Front. Analyze the contents using natural language processing (like with Google Cloud's NLP API) to categorize the request and automatically generate a support ticket in a tool like Jira or Zendesk.
CRM Synchronization: When a conversation is tagged with a specific keyword in Front, use that event to trigger a Pipedream workflow that updates a contact record in your CRM system, such as Salesforce or HubSpot. This ensures that sales or support teams have the latest interaction data without manual data entry.
Lead Qualification Automation: Set up a Pipedream workflow that listens for new conversations in Front. Use a service like Clearbit to enrich contact information, then apply custom logic to score and route leads to the appropriate team member in Front. This can help prioritize high-value leads and distribute them efficiently.
Emit new event when a conversation reaches a specific state. See the docs
Emit new event when a conversation is tagged with a specific tag or any tag. See the documentation
Reply to a conversation by sending a message and appending it to the conversation. See the docs here.
Sends a new message from a channel. It will create a new conversation. See the docs here.
Front uses OAuth authentication. When you connect your Front account, Pipedream will open a popup window where you can sign into Front and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Front API.
Pipedream requests the following authorization scopes when you connect your account:
GET
https://app.frontapp.com/oauth/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
POST
https://app.frontapp.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://app.frontapp.com/oauth/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}