← Front

Update Conversation with Front API

Pipedream makes it easy to connect APIs for Front and 900+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Update Conversation with the Front API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Update Conversation with the Front API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Update Conversation action
    1. Connect your Front account
    2. Select a Conversation ID
    3. Select a Assignee ID
    4. Optional- Select a Inbox ID
    5. Optional- Select a Status
    6. Optional- Select one or more Tag IDs
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Update Conversation with Front API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Front
 
Try it
Update Conversation with Front API on New Item in Feed from RSS API
RSS + Front
 
Try it
Update Conversation with Front API on New Message from Discord API
Discord + Front
 
Try it
Update Conversation with Front API on New Message In Channels from Slack API
Slack + Front
 
Try it
Update Conversation with Front API on New Message in Channel from Discord Bot API
Discord Bot + Front
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Update Conversation on Front
Description:Updates a conversation. [See the docs here](https://dev.frontapp.com/reference/patch_conversations-conversation-id).
Version:0.1.3
Key:frontapp-update-conversation

Code

import utils from "../../common/utils.mjs";
import frontApp from "../../frontapp.app.mjs";

export default {
  key: "frontapp-update-conversation",
  name: "Update Conversation",
  description: "Updates a conversation. [See the docs here](https://dev.frontapp.com/reference/patch_conversations-conversation-id).",
  version: "0.1.3",
  type: "action",
  props: {
    frontApp,
    conversationId: {
      propDefinition: [
        frontApp,
        "conversationId",
      ],
    },
    assigneeId: {
      propDefinition: [
        frontApp,
        "teammateId",
        () => ({
          appendNull: true,
        }),
      ],
      label: "Assignee ID",
      description: "ID of the teammate to assign the conversation to. Set it to null to unassign.",
    },
    inboxId: {
      propDefinition: [
        frontApp,
        "inboxId",
      ],
      description: "ID of the inbox to move the conversation to.",
      optional: true,
    },
    status: {
      type: "string",
      label: "Status",
      description: "New status of the conversation",
      optional: true,
      options: [
        "archived",
        "deleted",
        "spam",
        "open",
      ],
    },
    tagIds: {
      propDefinition: [
        frontApp,
        "tagIds",
      ],
      description: "List of all the tag IDs replacing the old conversation tags",
    },
  },
  async run({ $ }) {
    const {
      conversationId,
      assigneeId,
      inboxId,
      status,
    } = this;

    const tagIds = utils.parse(this.tagIds);

    const data = {
      assignee_id: assigneeId,
      inbox_id: inboxId,
      status,
      tag_ids: tagIds,
    };

    await this.frontApp.updateConversation({
      conversationId,
      data,
    });

    $.export("$summary", `Successfully updated conversation with ID ${conversationId}`);

    return conversationId;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
FrontfrontAppappThis component uses the Front app.
Conversation IDconversationIdstringSelect a value from the drop down menu.
Assignee IDassigneeIdstringSelect a value from the drop down menu.
Inbox IDinboxIdstringSelect a value from the drop down menu.
StatusstatusstringSelect a value from the drop down menu:archiveddeletedspamopen
Tag IDstagIdsstring[]Select a value from the drop down menu.

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:

About Front

Customer communication platform

More Ways to Use Front

Actions

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
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