← Procore

Budget Snapshot Event (Instant) from Procore API

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

Trigger workflow on
Budget Snapshot Event (Instant) from the Procore API
Next, do this
Connect to 900+ APIs using code and no-code building blocks
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

Trigger a workflow on Budget Snapshot Event (Instant) with Procore API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Budget Snapshot Event (Instant) trigger
    1. Connect your Procore account
    2. Select a Company
    3. Optional- Select a Project
  2. Add steps to connect to 900+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on Budget Snapshot Event (Instant) from Procore API
Procore + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on Budget Snapshot Event (Instant) from Procore API
Procore + Google Sheets
 
Try it
Get Film with SWAPI API on Budget Snapshot Event (Instant) from Procore API
Procore + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on Budget Snapshot Event (Instant) from Procore API
Procore + Airtable
 
Try it
Custom Request with HTTP / Webhook API on Budget Snapshot Event (Instant) from Procore API
Procore + HTTP / Webhook
 
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.

Budget Snapshot Event (Instant) on Procore
Description:Emits an event each time a Budget Snapshot is created, updated, or deleted in a project.
Version:0.0.1
Key:procore-budget-snapshot

Code

const common = require("../common.js");

module.exports = {
  ...common,
  name: "Budget Snapshot Event (Instant)",
  key: "procore-budget-snapshot",
  description:
    "Emits an event each time a Budget Snapshot is created, updated, or deleted in a project.",
  version: "0.0.1",
  methods: {
    ...common.methods,
    getResourceName() {
      return "Budget View Snapshots";
    },
    async getDataToEmit(body) {
      const { resource_id: resourceId } = body;
      const limit = 100;
      let offset = 0;
      let total = limit;
      let snapshotRows = [];
      while (total == limit) {
        const resource = await this.procore.getBudgetViewSnapshot(
          this.company,
          this.project,
          resourceId,
          limit,
          offset
        );
        snapshotRows = snapshotRows.concat(resource);
        total = resource.length;
        offset += limit;
      }
      return { ...body, snapshotRows };
    },
    getMeta(body) {
      const {
        id,
        event_type: eventType,
        resource_id: resourceId,
        timestamp,
      } = body;
      const ts = new Date(timestamp).getTime();
      return {
        id,
        summary: `${eventType} Budget Snapshot ID:${resourceId}`,
        ts,
      };
    },
  },
};

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
ProcoreprocoreappThis component uses the Procore app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
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.
CompanycompanyintegerSelect a value from the drop down menu.
ProjectprojectintegerSelect a value from the drop down menu.

Authentication

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

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

About Procore

The all-in-one construction management software built to help you finish quality projects — safely, on time, and within budget.

More Ways to Use Procore

Triggers

Commitment Change Order Event (Instant) from the Procore API

Emits an event each time a Commitment Change Order is created, updated, or deleted in a project.

 
Try it
New Event (Instant) from the Procore API

Emits an event for each webhook notification.

 
Try it
Prime Contract Change Order Event (Instant) from the Procore API

Emits an event each time a Prime Contract Change Order is created, updated, or deleted in a project.

 
Try it
Prime Contract Event(Instant) from the Procore API

Emits an event each time a Prime Contract is created, updated, or deleted in a project.

 
Try it
Purchase Order Event (Instant) from the Procore API

Emits an event each time a Purchase Order is created, updated, or deleted in a project.

 
Try it