← Slack + Quipu integrations

Create Contact with Quipu API on New Direct Message (Instant) from Slack API

Pipedream makes it easy to connect APIs for Quipu, Slack and 1000+ other apps remarkably fast.

Trigger workflow on
New Direct Message (Instant) from the Slack API
Next, do this
Create Contact with the Quipu API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Slack trigger and Quipu 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 Direct Message (Instant) trigger
    1. Connect your Slack account
    2. Configure slackApphook
    3. Optional- Configure Ignore Bots
  3. Configure the Create Contact action
    1. Connect your Quipu account
    2. Configure Name
    3. Configure Tax ID (CIF/NIF)
    4. Configure Postal Code
    5. Configure Country
    6. Optional- Configure Phone
    7. Optional- Configure Email
    8. Optional- Configure Address
    9. Optional- Configure Town
    10. Optional- Configure Client Number
    11. Optional- Configure Supplier Number
    12. Optional- Configure Is Supplier of Direct Goods
    13. Optional- Configure Bank Account Number
    14. Optional- Configure Bank Account Swift
  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.

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.

Trigger

Description:Emit new event when a message was posted in a direct message channel
Version:1.0.8
Key:slack-new-direct-message

Slack Overview

With the Slack API, you can build all sorts of integrations and applications to
make your work life easier. Here are just a few examples:

  • Automate posting updates to your team channel
  • Create a bot to answer common questions
  • Integrate with your existing tools and services
  • Build a custom dashboard to track your team's progress
  • Create a bot to handle scheduling and meeting requests
  • And much more!

Trigger Code

import common from "../common/base.mjs";

export default {
  ...common,
  key: "slack-new-direct-message",
  name: "New Direct Message (Instant)",
  version: "1.0.8",
  description: "Emit new event when a message was posted in a direct message channel",
  type: "source",
  dedupe: "unique",
  props: {
    ...common.props,
    // eslint-disable-next-line pipedream/props-description,pipedream/props-label
    slackApphook: {
      type: "$.interface.apphook",
      appProp: "slack",
      async eventNames() {
        return [
          "message.im",
        ];
      },
    },
    ignoreBot: {
      propDefinition: [
        common.props.slack,
        "ignoreBot",
      ],
    },
  },
  methods: {
    ...common.methods,
    getSummary() {
      return "New direct message received";
    },
    processEvent(event) {
      if (event.user == this.slack.mySlackId()) {
        return;
      }
      if ((this.ignoreBot) && (event.subtype == "bot_message" || event.bot_id)) {
        return;
      }
      return event;
    },
  },
};

Trigger 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
SlackslackappThis component uses the Slack app.
N/AnameCache$.service.dbThis component uses $.service.db to maintain state between executions.
slackApphook$.interface.apphook
Ignore BotsignoreBotboolean

Ignore messages from bots

Trigger Authentication

Slack uses OAuth authentication. When you connect your Slack account, Pipedream will open a popup window where you can sign into Slack and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Slack API.

Pipedream requests the following authorization scopes when you connect your account:

bookmarks:writecalls:readcalls:writechannels:historychannels:readchannels:writednd:readdnd:writeemoji:readfiles:readgroups:historygroups:readgroups:writeim:historyim:readim:writelinks:readlinks:writempim:historympim:readmpim:writepins:readpins:writereactions:readreactions:writereminders:readreminders:writeremote_files:readremote_files:sharestars:readstars:writeteam:readusergroups:readusergroups:writeusers:readusers:read.emailusers:writechat:write:botchat:write:usercommandsfiles:write:userusers.profile:writeusers.profile:readsearch:read

About Slack

Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.

Action

Description:Creates a new contact. [See the docs](http://quipuapp.github.io/api-v1-docs/#creating-a-contact).
Version:0.0.1
Key:quipu-create-contact

Quipu Overview

With the Quipu API you can create powerful, feature-rich and fully-adaptable
invoicing applications for your business.

Examples of you can create with the Quipu API:

  • Invoice generators
  • Invoice tracking systems
  • Document and customer management solutions
  • Customizable invoice layout solutions
  • Automated customer onboarding
  • Document signing solutions
  • Automated payroll solutions
  • Customizable G/L integrations
  • Automated notifications and email reminders
  • Tax management tools
  • Real-time reporting dashboards
  • Automated document conversion solutions
  • Automated payment solutions

The Quipu API is used by small and large businesses of all kinds, anywhere in
the world. Whether you're a freelancer, online merchant, or a large enterprise,
Quipu API has the tools to get the job done quickly and efficiently.

So think no more, let Quipu API do the work for you and save you time and
money!

Action Code

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

export default {
  key: "quipu-create-contact",
  name: "Create Contact",
  description: "Creates a new contact. [See the docs](http://quipuapp.github.io/api-v1-docs/#creating-a-contact).",
  version: "0.0.1",
  type: "action",
  props: {
    app,
    name: {
      type: "string",
      label: "Name",
      description: "Contact full name.",
    },
    taxId: {
      type: "string",
      label: "Tax ID (CIF/NIF)",
      description: "Contact tax id, (CIF/NIF).",
    },
    zipCode: {
      type: "string",
      label: "Postal Code",
      description: "Address postal code.",
    },
    countryCode: {
      type: "string",
      label: "Country",
      description: "Address country code, ISO 3166-2 format of e.g: `US`, `ES`, `PT`.",
    },
    phone: {
      type: "string",
      label: "Phone",
      description: "Contact's phone number.",
      optional: true,
    },
    email: {
      type: "string",
      label: "Email",
      description: "Contact's email address.",
      optional: true,
    },
    address: {
      type: "string",
      label: "Address",
      description: "Contact's address.",
      optional: true,
    },
    town: {
      type: "string",
      label: "Town",
      description: "Contact's town.",
      optional: true,
    },
    clientNumber: {
      type: "integer",
      label: "Client Number",
      description: "Contact's client number.",
      optional: true,
    },
    supplierNumber: {
      type: "string",
      label: "Supplier Number",
      description: "The supplier number of the contact",
      optional: true,
    },
    isSupplierOfDirectGoods: {
      type: "boolean",
      label: "Is Supplier of Direct Goods",
      description: "Is the contact supplier of direct goods?",
      optional: true,
    },
    bankAccountNumber: {
      type: "string",
      label: "Bank Account Number",
      description: "The bank account number of the contact",
      optional: true,
    },
    bankAccountSwift: {
      type: "string",
      label: "Bank Account Swift",
      description: "The bank account swift of the contact",
      optional: true,
    },
  },
  async run({ $ }) {
    const attributes = {
      "name": this.name,
      "tax_id": this.taxId,
      "phone": this.phone,
      "email": this.email,
      "address": this.address,
      "town": this.town,
      "zip_code": this.zipCode,
      "country_code": this.countryCode,
      "client_number": this.clientNumber,
      "supplier_number": this.supplierNumber,
      "is_supplier_of_direct_goods": this.isSupplierOfDirectGoods,
      "bank_account_number": this.bankAccountNumber,
      "bank_account_swift_bic": this.bankAccountSwift,
    };
    const contact = await this.app.createContact($, attributes);
    $.export("$summary", `Successfully created contact with ID "${contact.id}"`);
    return contact;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
QuipuappappThis component uses the Quipu app.
Namenamestring

Contact full name.

Tax ID (CIF/NIF)taxIdstring

Contact tax id, (CIF/NIF).

Postal CodezipCodestring

Address postal code.

CountrycountryCodestring

Address country code, ISO 3166-2 format of e.g: US, ES, PT.

Phonephonestring

Contact's phone number.

Emailemailstring

Contact's email address.

Addressaddressstring

Contact's address.

Towntownstring

Contact's town.

Client NumberclientNumberinteger

Contact's client number.

Supplier NumbersupplierNumberstring

The supplier number of the contact

Is Supplier of Direct GoodsisSupplierOfDirectGoodsboolean

Is the contact supplier of direct goods?

Bank Account NumberbankAccountNumberstring

The bank account number of the contact

Bank Account SwiftbankAccountSwiftstring

The bank account swift of the contact

Action Authentication

Quipu uses OAuth authentication. When you connect your Quipu account, Pipedream will open a popup window where you can sign into Quipu and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Quipu API.

Pipedream requests the following authorization scopes when you connect your account:

ecommerce

About Quipu

Online bookkeeping service

More Ways to Connect Quipu + Slack

Create Contact with Quipu API on New Star Added To Message (Instant) from Slack API
Slack + Quipu
 
Try it
Create Income Invoice with Quipu API on New Star Added To Message (Instant) from Slack API
Slack + Quipu
 
Try it
Create Income Ticket with Quipu API on New Star Added To Message (Instant) from Slack API
Slack + Quipu
 
Try it
Create Contact with Quipu API on New Interaction Events from Slack API
Slack + Quipu
 
Try it
Create Contact with Quipu API on New Message In Channels (Instant) from Slack API
Slack + Quipu
 
Try it
New Message In Channels (Instant) from the Slack API

Emit new event when a new message is posted to one or more channels

 
Try it
New Direct Message (Instant) from the Slack API

Emit new event when a message was posted in a direct message channel

 
Try it
New Mention (Instant) from the Slack API

Emit new event when a username or specific keyword is mentioned in a channel

 
Try it
New Reaction Added (Instant) from the Slack API

Emit new event when a member has added an emoji reaction to a message

 
Try it
New Star Added (Instant) from the Slack API

Emit new event when a star is added to an item

 
Try it
Send Message to a Public Channel with the Slack API

Send a message to a public channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here

 
Try it
Send Message to a Private Channel with the Slack API

Send a message to a private channel and customize the name and avatar of the bot that posts the message. See postMessage or scheduleMessage docs here

 
Try it
Send a Direct Message with the Slack API

Send a direct message to a single user. See postMessage or scheduleMessage docs here

 
Try it
Send Message Using Block Kit with the Slack API

Send a message using Slack's Block Kit UI framework to a channel, group or user. See postMessage or scheduleMessage docs here

 
Try it
Reply to a Message Thread with the Slack API

Send a message as a threaded reply. See postMessage or scheduleMessage docs here

 
Try it