← Yanado + Google Cloud integrations

Switch Instance Boot Status with Google Cloud API on Changed Task Status from Yanado API

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

Trigger workflow on
Changed Task Status from the Yanado 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 Yanado 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 Changed Task Status trigger
    1. Connect your Yanado account
    2. Configure timer
    3. Select a List ID
    4. Optional- Select a Status ID
  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:Emit new event when a task status changes
Version:0.0.2
Key:yanado-changed-task-status

Yanado Overview

Yanado turns your Gmail into a powerful collaboration tool, allowing you to manage tasks and projects directly within your inbox. With the Yanado API, you can automate task creation, project management, task updates, and notifications, syncing your email activities with project workflows. Pipedream's platform empowers you to integrate Yanado with a myriad of other apps, enabling seamless automation of complex workflows that bridge your email communications with task management, CRM updates, calendar scheduling, and more.

Trigger Code

import common from "../common/base.mjs"; export default { // eslint-disable-next-line pipedream/source-name name: "Changed Task Status", key: "yanado-changed-task-status", description: "Emit new event when a task status changes", version: "0.0.2", type: "source", props: { ...common.props, statusId: { propDefinition: [ common.props.yanado, "statusId", (c) => ({ listId: c.listId, }), ], description: "Only emit event if the status changed to this chosen value", }, }, methods: { _getTaskStatus(taskId) { return this.db.get(taskId); }, _setTaskStatus(taskId, status) { this.db.set(taskId, status); }, _hasTaskStatusChanged(taskId, status) { const taskStatus = this._getTaskStatus(taskId); return taskStatus !== status; }, }, async run() { const tasks = await this.yanado.findTasks({ params: { listId: this.listId, statusId: this.statusId, }, }); for (const task of tasks) { const { taskId: id, name, statusId, statusName, } = task; if (this.statusId && statusId !== this.statusId) { continue; } if (this._hasTaskStatusChanged(id, statusId)) { this._setTaskStatus(id, statusId); this.$emit(task, { id, summary: `Status: ${statusName} - Task: ${name}`, ts: new Date(), }); } } }, }; 

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
YanadoyanadoappThis component uses the Yanado app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
timer$.interface.timer
List IDlistIdstringSelect a value from the drop down menu.
Status IDstatusIdstringSelect a value from the drop down menu.

Trigger Authentication

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

An API key can be obtained by signing in to Yanado.com, and then going to Settings > Integrations, then click on the plus button at the bottom right corner to generate a new key.

About Yanado

Yanado brings satisfaction to teams by giving them a project management app that works inside their everyday tools. With Yanado, everyone can manage their project without ever leaving their favorite work tools.

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 + Yanado

Update Task with Yanado API on BigQuery - New Row from Google Cloud API
Google Cloud + Yanado
 
Try it
Update Task with Yanado API on BigQuery - Query Results from Google Cloud API
Google Cloud + Yanado
 
Try it
Update Task with Yanado API on New Pub/Sub Messages from Google Cloud API
Google Cloud + Yanado
 
Try it
Create Task with Yanado API on BigQuery - New Row from Google Cloud API
Google Cloud + Yanado
 
Try it
Find Tasks with Yanado API on BigQuery - New Row from Google Cloud API
Google Cloud + Yanado
 
Try it
Find Tasks with Yanado API on BigQuery - Query Results from Google Cloud API
Google Cloud + Yanado
 
Try it
Create Task with Yanado API on BigQuery - Query Results from Google Cloud API
Google Cloud + Yanado
 
Try it
Find Tasks with Yanado API on New Pub/Sub Messages from Google Cloud API
Google Cloud + Yanado
 
Try it
Create Task with Yanado API on New Pub/Sub Messages from Google Cloud API
Google Cloud + Yanado
 
Try it
Create Bucket with Google Cloud API on Changed Task Status from Yanado API
Yanado + Google Cloud
 
Try it
Get Object with Google Cloud API on Changed Task Status from Yanado API
Yanado + Google Cloud
 
Try it
List Buckets with Google Cloud API on Changed Task Status from Yanado API
Yanado + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on Changed Task Status from Yanado API
Yanado + Google Cloud
 
Try it
Search Objects with Google Cloud API on Changed Task Status from Yanado API
Yanado + Google Cloud
 
Try it
Upload An Object with Google Cloud API on Changed Task Status from Yanado API
Yanado + Google Cloud
 
Try it
Create Bucket with Google Cloud API on New Task from Yanado API
Yanado + Google Cloud
 
Try it
Get Object with Google Cloud API on New Task from Yanado API
Yanado + Google Cloud
 
Try it
List Buckets with Google Cloud API on New Task from Yanado API
Yanado + Google Cloud
 
Try it
Logging - Write Log with Google Cloud API on New Task from Yanado API
Yanado + Google Cloud
 
Try it
Search Objects with Google Cloud API on New Task from Yanado API
Yanado + Google Cloud
 
Try it
Changed Task Status from the Yanado API

Emit new event when a task status changes

 
Try it
New Task from the Yanado API

Emit new event for every new task in a list

 
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 Task with the Yanado API

Create a new task. See the docs

 
Try it
Find Tasks with the Yanado API

Find tasks in a list. See the docs

 
Try it
Update Task with the Yanado API

Update a new task. See the docs

 
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.