Add Contact To New Entry with Loopify API on New Ticket Comment Added (Instant) from Zendesk API

Pipedream makes it easy to connect APIs for Loopify, Zendesk and 3,000+ other apps remarkably fast.

Trigger workflow on

New Ticket Comment Added (Instant) from the Zendesk API

Next, do this

Add Contact To New Entry with the Loopify API

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Developers ♥ Pipedream

  • Chase Roberts
  • @benedictevans If you haven’t used @pipedream yet, then you haven’t lived. (link)
  • ✨Ellie Day✨ (link)
  • Michael Braedley (link)
  • Thomas Cutting (link)
  • Matthew Roberts (link)
  • Kenneth Auchenberg 💭 (link)
  • Raymond Camden 🥑 (link)
  • Nacho Caballero (link)
  • Jason Snow (link)
  • Steven Terrana (link)
  • 🚄 James Augeri, PhD (link)
  • Sébastien Chopin (link)
  • Raul (link)
  • Bruno Skvorc (link)
  • Zach Lanich (link)
  • Steven Bell (link)
  • Jay Hack 🎩🇺🇸 (link)
  • Tree Sturgeon 🔥🚴‍♂️🌳 (link)

Getting Started

This integration creates a workflow with a Zendesk trigger and Loopify action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Ticket Comment Added (Instant) trigger
    1. Connect your Zendesk account
    2. Optional- Select a Trigger Category ID
    3. Optional- Configure Custom Subdomain
  3. Configure the Add Contact To New Entry action
    1. Connect your Loopify account
    2. Select a Flow ID
    3. Select a Contact ID
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

Trigger

New Ticket Comment Added (Instant) on Zendesk

Description: Emit new event when a ticket comment has been added

Version: 0.1.4

Key: zendesk-new-ticket-comment-added

Trigger Code

import app from "../../zendesk.app.mjs";
import common from "../common/ticket.mjs";

export default {
  ...common,
  name: "New Ticket Comment Added (Instant)",
  key: "zendesk-new-ticket-comment-added",
  type: "source",
  description: "Emit new event when a ticket comment has been added",
  version: "0.1.4",
  dedupe: "unique",
  props: {
    app,
    db: "$.__service.db",
    http: "$.__interface.http",
    categoryId: {
      propDefinition: [
        app,
        "categoryId"
      ],
    },
    customSubdomain: {
      propDefinition: [
        app,
        "customSubdomain"
      ],
    },
  },
  methods: {
    ...common.methods,
    async getTriggerPayload() {
      const payload = await common.methods.getTriggerPayload.call(this);
      return payload;
    },
  },
};

Action

Add Contact To New Entry on Loopify

Description: Adds a contact to an API Entry block in a Loopify flow.

Version: 0.0.3

Key: loopify-add-contact-to-new-entry

Action Code

import app from "../../loopify.app.mjs";

export default {
  key: "loopify-add-contact-to-new-entry",
  name: "Add Contact To New Entry",
  description: "Adds a contact to an **API Entry** block in a Loopify flow.",
  version: "0.0.3",
  type: "action",
  props: {
    app,
    flowId: {
      propDefinition: [app, "flowId"],
    },
    contactId: {
      propDefinition: [app, "contactId"],
    },
  },
  methods: {
    async run() {
      const response = await this.app.addContactToNewEntryBlock({ flowId, contactId });
      return response;
    },
  },
};

About Zendesk

Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.

About Loopify

Marketing automation the fun and easy way. You create the content and Loopify does the rest. It’s so simple that even your boss could do it.