← Basecamp + Node integrations

Run Node Code with Node API on New Event By Webhook Type (Instant) from Basecamp API

Pipedream makes it easy to connect APIs for Node, Basecamp and 1,600+ other apps remarkably fast.

Trigger workflow on
New Event By Webhook Type (Instant) from the Basecamp API
Next, do this
Run Node Code with the Node API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

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

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Basecamp trigger and Node 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 Event By Webhook Type (Instant) trigger
    1. Connect your Basecamp account
    2. Select a Account Id
    3. Select a Project Id
    4. Select one or more Webhook Types
  3. Configure the Run Node Code action
    1. Connect your Node account
  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 based on the selected webhook type. [See the docs here](https://github.com/basecamp/bc3-api/blob/master/sections/webhooks.md#create-a-webhook)
Version:0.0.3
Key:basecamp-new-event-by-webhook-type

Basecamp Overview

Using the Basecamp API, you can build applications that:

  • Access and manage your Basecamp account
  • Create, edit, and delete projects
  • Manage project members
  • Manage to-dos

Trigger Code

import common from "../common/webhook.mjs";
import constants from "../common/constants.mjs";

export default {
  ...common,
  key: "basecamp-new-event-by-webhook-type",
  name: "New Event By Webhook Type (Instant)",
  description: "Emit new event based on the selected webhook type. [See the docs here](https://github.com/basecamp/bc3-api/blob/master/sections/webhooks.md#create-a-webhook)",
  version: "0.0.3",
  dedupe: "unique",
  type: "source",
  props: {
    ...common.props,
    webhookTypes: {
      type: "string[]",
      label: "Webhook Types",
      description: "Select types of webhook for listening.",
      options: constants.WEBHOOK_TYPE_OPTS,
    },
  },
  methods: {
    ...common.methods,
    getWebhookTypes() {
      return this.webhookTypes;
    },
    filterEvent(event) {
      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
BasecampappappThis component uses the Basecamp app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
Account IdaccountIdstringSelect a value from the drop down menu.
Project IdprojectIdstringSelect a value from the drop down menu.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.
Webhook TypeswebhookTypesstring[]Select a value from the drop down menu:CommentClient::Approval::ResponseClient::ForwardClient::ReplyCloudFileDocumentGoogleDocumentInbox::ForwardMessageQuestionQuestion::AnswerSchedule::EntryTodoTodolistUploadVault

Trigger Authentication

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

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

About Basecamp

Project Management & Team Communication

Action

Description:Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the [Pipedream Node docs](https://pipedream.com/docs/code/nodejs) to learn more.
Version:0.0.2
Key:node-run-node-code

Action Code

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

export default {
  name: "Run Node Code",
  version: "0.0.2",
  key: "node-run-node-code",
  description: "Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the [Pipedream Node docs](https://pipedream.com/docs/code/nodejs) to learn more.",
  props: {
    node,
  },
  type: "action",
  methods: {},
  async run({
    steps, $,
  }) {
    // Return data to use it in future steps
    return steps.trigger.event;
  },
};

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
NodenodeappThis component uses the Node app.

Action Authentication

The Node API does not require authentication.

About Node

Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.

More Ways to Connect Node + Basecamp

Run Node Code with Node API on New Comment Created (Instant) from Basecamp API
Basecamp + Node
 
Try it
Run Node Code with Node API on New Message Created (Instant) from Basecamp API
Basecamp + Node
 
Try it
Run Node Code with Node API on New To-Do Item Created (Instant) from Basecamp API
Basecamp + Node
 
Try it
Run Node Code with Node API on New To-Do Item Status (Instant) from Basecamp API
Basecamp + Node
 
Try it
Run Node Code with Node API on New To-Do List Created (Instant) from Basecamp API
Basecamp + Node
 
Try it
New Comment Created (Instant) from the Basecamp API

Emit new event when a comment is created. See the docs here

 
Try it
New Event By Webhook Type (Instant) from the Basecamp API

Emit new event based on the selected webhook type. See the docs here

 
Try it
New Message Created (Instant) from the Basecamp API

Emit new event when a message is created. See the docs here

 
Try it
New To-Do Item Created (Instant) from the Basecamp API

Emit new event when a to-do item is created. See the docs here

 
Try it
New To-Do Item Status (Instant) from the Basecamp API

Emit new event when a to-do item status changes. See the docs here

 
Try it
Create a Card with the Basecamp API

Creates a card in the select column. See the docs here

 
Try it
Create a Comment with the Basecamp API

Publishes a comment to the select recording. See the docs here

 
Try it
Create Campfire Message with the Basecamp API

Creates a line in the Campfire for the selected project. See the docs here

 
Try it
Create Message with the Basecamp API

Publishes a message in the project and message board selected. See the docs here

 
Try it
Create Todo Item with the Basecamp API

Creates a todo in the project and message board selected. See the docs here

 
Try it

Explore Other Apps

1
-
12
of
1,600+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
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.