Front

Customer communication platform

Go to site

Front API Integrations

Build and run workflows using the Front API. Use 1000s of source-available triggers and actions across 1000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

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:

  • A personalized email assistant that can help you triage and respond to emails
  • An integration with your CRM that automatically adds emails from customers to your CRM
  • A tool that flags important emails and sends you notifications about them
  • An app that helps you find emails from a specific sender or with a certain subject line
  • A script that archives all of your old emails

These are just a few examples of what you can build with the Front API – the possibilities are really only limited by your imagination!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})
Send new message with Front API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Front
 
Try it
Send new message with Front API on New Item in Feed from RSS API
RSS + Front
 
Try it
Send new message with Front API on New Message from Discord API
Discord + Front
 
Try it
Send new message with Front API on New Message In Channels from Slack API
Slack + Front
 
Try it
Send new message with Front API on New Message in Channel from Discord Bot API
Discord Bot + Front
 
Try it
Import Message with the Front API

Appends a new message into an inbox. See the docs here.

 
Try it
Receive Custom Messages with the Front API

Receive a custom message in Front. See the docs here.

 
Try it
Reply To Conversation with the Front API

Reply to a conversation by sending a message and appending it to the conversation. See the docs here.

 
Try it
Send New Message with the Front API

Sends a new message from a channel. It will create a new conversation. See the docs here.

 
Try it
Update Conversation with the Front API

Updates a conversation. See the docs here.

 
Try it

Authentication

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:

OAuth Request Configurations:
  1. authorization
    GEThttps://app.frontapp.com/oauth/authorize?client_id={{oauth.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code
  2. accessToken
    POSThttps://app.frontapp.com/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}
  3. refreshToken
    POSThttps://app.frontapp.com/oauth/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    grant_type=refresh_token&refresh_token={{oauth.refresh_token}}