← Schedule + BuildKite integrations

Get the current user with BuildKite API on Monthly Schedule from Schedule API

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

Trigger workflow on
Monthly Schedule from the Schedule API
Next, do this
Get the current user with the BuildKite 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

This integration creates a workflow with a Schedule trigger and BuildKite 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 Monthly Schedule trigger
    1. Connect your Schedule account
    2. Configure Cron Schedule
  3. Configure the Get the current user action
    1. Connect your BuildKite 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, open source 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:Trigger your workflow on one or more days each month at a specific time (with timezone support).
Version:0.0.2
Key:schedule-monthly

Trigger Code

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

export default {
  name: "Monthly Schedule",
  version: "0.0.2",
  key: "schedule-monthly",
  type: "source",
  description: "Trigger your workflow on one or more days each month at a specific time (with timezone support).",
  props: {
    schedule,
    cron: {
      propDefinition: [
        schedule,
        "cron",
      ],
      default: {
        cron: "0 10 1 * *",
      },
    },
  },
};

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
SchedulescheduleappThis component uses the Schedule app.
Cron Schedulecron$.interface.timer

Enter a cron expression

Trigger Authentication

The Schedule API does not require authentication.

About Schedule

Trigger workflows on an interval or cron schedule.

Action

Description:Returns basic details about the user account that sent the request
Version:0.1.1
Key:buildkite-get-user

BuildKite Overview

With the Buildkite API, you can:

  • Trigger new builds
  • Get the status of builds
  • Cancel builds
  • Rerun builds
  • Delete builds
  • List agents
  • Get agent details
  • Delete agents
  • Disable agents
  • Enable agents

Action Code

// legacy_hash_id: a_1Wiqr1
import { axios } from "@pipedream/platform";

export default {
  key: "buildkite-get-user",
  name: "Get the current user",
  description: "Returns basic details about the user account that sent the request",
  version: "0.1.1",
  type: "action",
  props: {
    buildkite: {
      type: "app",
      app: "buildkite",
    },
  },
  async run({ $ }) {
    return await axios($, {
      url: "https://api.buildkite.com/v2/user",
      headers: {
        Authorization: `Bearer ${this.buildkite.$auth.api_token}`,
      },
    });
  },
};

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
BuildKitebuildkiteappThis component uses the BuildKite app.

Action Authentication

BuildKite uses API keys for authentication. When you connect your BuildKite account, Pipedream securely stores the keys so you can easily authenticate to BuildKite APIs in both code and no-code steps.

Get your API token here

About BuildKite

Run fast, secure, and scalable CI pipelines on your own infrastructure

More Ways to Connect BuildKite + Schedule

Get the current user with BuildKite API on Schedule based on a custom interval from Schedule API
Schedule + BuildKite
 
Try it
Get the current user with BuildKite API on Daily schedule from Schedule API
Schedule + BuildKite
 
Try it
Get the current user with BuildKite API on Weekly schedule from Schedule API
Schedule + BuildKite
 
Try it
Custom Interval from the Schedule API

Trigger your workflow every N hours, minutes or seconds.

 
Try it
Daily schedule from the Schedule API

Trigger your workflow every day.

 
Try it
Monthly Schedule from the Schedule API

Trigger your workflow on one or more days each month at a specific time (with timezone support).

 
Try it
Weekly schedule from the Schedule API

Trigger your workflow on one or more days each week at a specific time (with timezone support).

 
Try it
Get the current user with the BuildKite API

Returns basic details about the user account that sent the request

 
Try it