← Procore + Google Cloud integrations

Switch Instance Boot Status with Google Cloud API on Budget Snapshot Event (Instant) from Procore API

Pipedream makes it easy to connect APIs for Google Cloud, Procore and 2,800+ other apps remarkably fast.

Trigger workflow on
Budget Snapshot Event (Instant) from the Procore API
Next, do this
Switch Instance Boot Status with the Google Cloud API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,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 Procore trigger and Google Cloud 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 Budget Snapshot Event (Instant) trigger
    1. Connect your Procore account
    2. Select a Company
    3. Optional- Select a Project
  3. Configure the Switch Instance Boot Status action
    1. Connect your Google Cloud account
    2. Select a Zone
    3. Select a Instance Name
    4. Select a New Instance Status
    5. Configure Wait Completion
  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:Emits an event each time a Budget Snapshot is created, updated, or deleted in a project.
Version:0.0.2
Key:procore-budget-snapshot

Procore Overview

The Procore API empowers developers to interact with its construction management software programmatically, enabling automation of tasks, data synchronization, and enhanced reporting. With APIs covering project management, quality and safety, construction financials, and field productivity, you can craft workflows that streamline operations, reduce manual entry, and provide real-time insights. On Pipedream, these capabilities can be harnessed to create workflows that react to events in Procore or orchestrate actions between Procore and other apps, optimizing construction project workflows.

Trigger 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.2", type: "source", 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, }; }, }, }; 

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
ProcoreprocoreappThis component uses the Procore app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
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.

Trigger 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.

Action

Description:Switch a virtual machine instance boot status to start or stop it. [See the documentation](https://cloud.google.com/compute/docs/instances/stop-start-instance)
Version:0.0.4
Key:google_cloud-switch-instance-boot-status

Google Cloud Overview

The Google Cloud API opens a world of possibilities for enhancing cloud operations and automating tasks. It empowers you to manage, scale, and fine-tune various services within the Google Cloud Platform (GCP) programmatically. With Pipedream, you can harness this power to create intricate workflows, trigger cloud functions based on events from other apps, manage resources, and analyze data, all in a serverless environment. The ability to interconnect GCP services with numerous other apps enriches automation, making it easier to synchronize data, streamline development workflows, and deploy applications efficiently.

Action Code

import googleCloud from "../../google_cloud.app.mjs"; import { ZonesClient, ZoneOperationsClient, InstancesClient, } from "@google-cloud/compute"; import { ConfigurationError } from "@pipedream/platform"; export default { name: "Switch Instance Boot Status", version: "0.0.4", annotations: { destructiveHint: true, openWorldHint: true, readOnlyHint: false, }, key: "google_cloud-switch-instance-boot-status", type: "action", description: "Switch a virtual machine instance boot status to start or stop it. [See the documentation](https://cloud.google.com/compute/docs/instances/stop-start-instance)", props: { googleCloud, zone: { label: "Zone", description: "The unique zone name", type: "string", async options() { const zones = await this.listZones(); return zones.map((item) => (item.name)); }, }, instanceName: { label: "Instance Name", description: "The unique instance name", type: "string", async options({ zone }) { if (!zone) { return []; } const instances = await this.listVmInstancesByZone(zone); return instances.map((item) => (item.name)); }, }, newInstanceStatus: { label: "New Instance Status", description: "Select if the instance should be either switched to started or stopped status", type: "string", options: [ "start", "stop", ], }, waitCompletion: { label: "Wait Completion", description: "Wait until the end of the operation", type: "boolean", default: false, }, }, methods: { zonesClient() { return new ZonesClient(this.googleCloud.sdkParams()); }, zoneOperationsClient() { return new ZoneOperationsClient(this.googleCloud.sdkParams()); }, instancesClient() { return new InstancesClient(this.googleCloud.sdkParams()); }, async listZones() { const zonesClient = this.zonesClient(); const sdkParams = this.googleCloud.sdkParams(); const [ zones, ] = await zonesClient.list({ project: sdkParams.projectId, }); return zones; }, async waitOperation(operation) { const operationsClient = this.zoneOperationsClient(); const sdkParams = this.googleCloud.sdkParams(); while (operation.status !== "DONE") { [ operation, ] = await operationsClient.wait({ operation: operation.name, project: sdkParams.projectId, zone: operation.zone.split("/").pop(), }); } return operation; }, async listVmInstancesByZone(zone) { const instancesClient = this.instancesClient(); const sdkParams = this.googleCloud.sdkParams(); const [ instances, ] = await instancesClient.list({ project: sdkParams.projectId, zone, }); return instances; }, async switchInstanceBootStatus(zone, instance, newStatus) { if (![ "start", "stop", ].includes(newStatus)) { throw new ConfigurationError("The new VM boot status must be 'start' or 'stop'."); } const instancesClient = this.instancesClient(); const sdkParams = this.googleCloud.sdkParams(); const [ response, ] = await instancesClient[newStatus]({ project: sdkParams.projectId, zone, instance, }); return response.latestResponse; }, }, async run({ $ }) { const { zone, instanceName, waitCompletion, newInstanceStatus, } = this; let operation = await this.switchInstanceBootStatus( zone, instanceName, newInstanceStatus, ); if (waitCompletion) { operation = await this.waitOperation(operation); } $.export("$summary", `Instance ${instanceName} boot status was set to ${newInstanceStatus}.`); return operation; }, }; 

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
Google CloudgoogleCloudappThis component uses the Google Cloud app.
ZonezonestringSelect a value from the drop down menu.
Instance NameinstanceNamestringSelect a value from the drop down menu.
New Instance StatusnewInstanceStatusstringSelect a value from the drop down menu:startstop
Wait CompletionwaitCompletionboolean

Wait until the end of the operation

Action Authentication

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

  1. Create a service account in GCP and set the permissions you need for Pipedream workflows.
  2. Generate a service account key
  3. Download the key details in JSON format
  4. Upload the key below.

About Google Cloud

The Google Cloud Platform, including BigQuery

More Ways to Connect Google Cloud + Procore

Logging - Write Log with Google Cloud API on Budget Snapshot Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on Commitment Change Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on New Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on Prime Contract Change Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on Prime Contract Event(Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on Purchase Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on RFI Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on Submittal Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on Budget Snapshot Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on Commitment Change Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on New Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on Prime Contract Change Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on Prime Contract Event(Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on Purchase Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on RFI Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Create Bucket with Google Cloud API on Submittal Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Get Bucket Metadata [See the docs](https://googleapis.dev/nodejs/storage/latest/Bucket.html#getMetadata) with Google Cloud API on Budget Snapshot Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Get Bucket Metadata [See the docs](https://googleapis.dev/nodejs/storage/latest/Bucket.html#getMetadata) with Google Cloud API on Commitment Change Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Get Bucket Metadata [See the docs](https://googleapis.dev/nodejs/storage/latest/Bucket.html#getMetadata) with Google Cloud API on New Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Get Bucket Metadata [See the docs](https://googleapis.dev/nodejs/storage/latest/Bucket.html#getMetadata) with Google Cloud API on Prime Contract Change Order Event (Instant) from Procore API
Procore + Google Cloud
 
Try it
Budget Snapshot Event (Instant) from the Procore API

Emits an event each time a Budget Snapshot is created, updated, or deleted in a project.

 
Try it
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 Budget Snapshot Event (Instant) from the Procore API

Emit new event when a new budget snapshot event is created. See the documentation

 
Try it
New Change Order Package Event (Instant) from the Procore API

Emit new event when a new change order package event is created. See the documentation

 
Try it
New Commitment Change Order Event (Instant) from the Procore API

Emit new event when a new commitment change order event is created. See the documentation

 
Try it
New Event (Instant) from the Procore API

Emits an event for each webhook notification.

 
Try it
New Event (Instant) from the Procore API

Emit new event depending on the resource name selected. See the documentation

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

Emit new event when a new prime contract event is created. See the documentation

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

Emit new event when a new purchase order event is created. See the documentation

 
Try it
New RFI Event (Instant) from the Procore API

Emit new event when a new RFI event is created. See the documentation

 
Try it
New Submittal Event (Instant) from the Procore API

Emit new event when a new submittal event is created. See the documentation

 
Try it
New Timecard Entry Event (Instant) from the Procore API

Emit new event when a new timecard entry is created. See the documentation

 
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
RFI Event (Instant) from the Procore API

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

 
Try it
Submittal Event (Instant) from the Procore API

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

 
Try it
New Pub/Sub Messages from the Google Cloud API

Emit new Pub/Sub topic in your GCP account. Messages published to this topic are emitted from the Pipedream source.

 
Try it
BigQuery - New Row from the Google Cloud API

Emit new events when a new row is added to a table

 
Try it
BigQuery - Query Results from the Google Cloud API

Emit new events with the results of an arbitrary query

 
Try it
Create Incident with the Procore API

Create a new incident. See the documentation

 
Try it
Create Manpower Log with the Procore API

Create a new manpower log. See the documentation

 
Try it
Create RFI with the Procore API

Create a new RFI. See the documentation

 
Try it
Create Submittal with the Procore API

Create a new submittal. See the documentation

 
Try it
Create Timesheet with the Procore API

Create a new timesheet. See the documentation

 
Try it
Bigquery Insert Rows with the Google Cloud API

Inserts rows into a BigQuery table. See the docs and for an example here

 
Try it
Create Bucket with the Google Cloud API

Creates a bucket on Google Cloud Storage See the docs

 
Try it
Create Scheduled Query with the Google Cloud API

Creates a scheduled query in Google Cloud. See the documentation

 
Try it
Get Bucket Metadata with the Google Cloud API

Gets Google Cloud Storage bucket metadata. See the docs

 
Try it
Get Object with the Google Cloud API

Downloads an object from a Google Cloud Storage bucket, See the docs

 
Try it
List Buckets with the Google Cloud API

List Google Cloud Storage buckets, See the docs

 
Try it
Logging - Write Log with the Google Cloud API

Writes log data to the Logging service, See the docs

 
Try it
Run Query with the Google Cloud API

Runs a query in BigQuery. See the documentation for more information.

 
Try it
Search Objects with the Google Cloud API

Search objects by a prefix, See the docs

 
Try it
Switch Instance Boot Status with the Google Cloud API

Switch a virtual machine instance boot status to start or stop it. See the documentation

 
Try it
Update Signature for Email in Organization with the Google Cloud API

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

 
Try it
Upload An Object with the Google Cloud API

Upload an object to a Google Cloud Storage bucket, See the docs

 
Try it

Explore Other Apps

1
-
24
of
2,800+
apps by most popular

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.
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.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
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.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
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.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.