With the Front API, you can build a variety of applications and integrations to help you and your team manage your email inboxes. Here are a few examples of what you can build:
These are just a few examples of what you can build with the Front API – the possibilities are really only limited by your imagination!
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}`,
},
})
},
})
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}}