How to connect Google Cloud Pub\Sub and Google Cloud Storage
Create a New Scenario to Connect Google Cloud Pub\Sub and Google Cloud Storage
In the workspace, click the “Create New Scenario” button.

Add the First Step
Add the first node – a trigger that will initiate the scenario when it receives the required event. Triggers can be scheduled, called by a Google Cloud Pub\Sub, triggered by another scenario, or executed manually (for testing purposes). In most cases, Google Cloud Pub\Sub or Google Cloud Storage will be your first step. To do this, click "Choose an app," find Google Cloud Pub\Sub or Google Cloud Storage, and select the appropriate trigger to start the scenario.

Add the Google Cloud Pub\Sub Node
Select the Google Cloud Pub\Sub node from the app selection panel on the right.


Google Cloud Pub\Sub

Configure the Google Cloud Pub\Sub
Click on the Google Cloud Pub\Sub node to configure it. You can modify the Google Cloud Pub\Sub URL and choose between DEV and PROD versions. You can also copy it for use in further automations.
Add the Google Cloud Storage Node
Next, click the plus (+) icon on the Google Cloud Pub\Sub node, select Google Cloud Storage from the list of available apps, and choose the action you need from the list of nodes within Google Cloud Storage.


Google Cloud Pub\Sub
âš™

Google Cloud Storage


Authenticate Google Cloud Storage
Now, click the Google Cloud Storage node and select the connection option. This can be an OAuth2 connection or an API key, which you can obtain in your Google Cloud Storage settings. Authentication allows you to use Google Cloud Storage through Latenode.
Configure the Google Cloud Pub\Sub and Google Cloud Storage Nodes
Next, configure the nodes by filling in the required parameters according to your logic. Fields marked with a red asterisk (*) are mandatory.
Set Up the Google Cloud Pub\Sub and Google Cloud Storage Integration
Use various Latenode nodes to transform data and enhance your integration:
- Branching: Create multiple branches within the scenario to handle complex logic.
- Merging: Combine different node branches into one, passing data through it.
- Plug n Play Nodes: Use nodes that don’t require account credentials.
- Ask AI: Use the GPT-powered option to add AI capabilities to any node.
- Wait: Set waiting times, either for intervals or until specific dates.
- Sub-scenarios (Nodules): Create sub-scenarios that are encapsulated in a single node.
- Iteration: Process arrays of data when needed.
- Code: Write custom code or ask our AI assistant to do it for you.

JavaScript
âš™
AI Anthropic Claude 3
âš™

Google Cloud Storage
Trigger on Webhook
âš™

Google Cloud Pub\Sub
âš™
âš™
Iterator
âš™
Webhook response


Save and Activate the Scenario
After configuring Google Cloud Pub\Sub, Google Cloud Storage, and any additional nodes, don’t forget to save the scenario and click "Deploy." Activating the scenario ensures it will run automatically whenever the trigger node receives input or a condition is met. By default, all newly created scenarios are deactivated.
Test the Scenario
Run the scenario by clicking “Run once” and triggering an event to check if the Google Cloud Pub\Sub and Google Cloud Storage integration works as expected. Depending on your setup, data should flow between Google Cloud Pub\Sub and Google Cloud Storage (or vice versa). Easily troubleshoot the scenario by reviewing the execution history to identify and fix any issues.
Most powerful ways to connect Google Cloud Pub\Sub and Google Cloud Storage
Google Cloud Storage + Google Cloud Pub/Sub + Slack: When a new file is uploaded to Google Cloud Storage, a message is published to a Google Cloud Pub/Sub topic. This message triggers a Slack notification in a specified channel, informing users about the new file.
Google Cloud Storage + Google Cloud Translate + Google Cloud Pub/Sub: When a new document is uploaded to Google Cloud Storage, it is translated into a target language using Google Cloud Translate. A message is then published to a Google Cloud Pub/Sub topic to notify users that the translated document is available.
Google Cloud Pub\Sub and Google Cloud Storage integration alternatives

About Google Cloud Pub\Sub
undefined
Similar apps
Related categories

About Google Cloud Storage
Use Google Cloud Storage in Latenode for automated file management. Upload, download, and manage files in your workflows. Automate backups, data archiving, or image processing. Connect GCS to other apps for seamless data transfer and triggering events. Latenode's visual editor simplifies complex file-based automations.
Similar apps
Related categories
See how Latenode works
FAQ Google Cloud Pub\Sub and Google Cloud Storage
How can I connect my Google Cloud Pub\Sub account to Google Cloud Storage using Latenode?
To connect your Google Cloud Pub\Sub account to Google Cloud Storage on Latenode, follow these steps:
- Sign in to your Latenode account.
- Navigate to the integrations section.
- Select Google Cloud Pub\Sub and click on "Connect".
- Authenticate your Google Cloud Pub\Sub and Google Cloud Storage accounts by providing the necessary permissions.
- Once connected, you can create workflows using both apps.
Can I archive Pub\Sub messages to storage?
Yes, easily! Latenode lets you automate archiving messages from Google Cloud Pub\Sub to Google Cloud Storage using its visual editor, ensuring efficient data backup and compliance without complex coding.
What types of tasks can I perform by integrating Google Cloud Pub\Sub with Google Cloud Storage?
Integrating Google Cloud Pub\Sub with Google Cloud Storage allows you to perform various tasks, including:
- Automatically backing up message data to storage buckets.
- Archiving real-time event streams for later analysis.
- Creating data lakes from your message queues.
- Triggering storage events based on new messages.
- Building serverless applications with durable data layers.
Can I filter Pub\Sub messages based on attributes in Latenode?
Yes! Latenode’s advanced logic and JavaScript blocks let you filter Google Cloud Pub\Sub messages by attribute before storing them in Google Cloud Storage.
Are there any limitations to the Google Cloud Pub\Sub and Google Cloud Storage integration on Latenode?
While the integration is powerful, there are certain limitations to be aware of:
- Large file transfers may be subject to Google Cloud's API rate limits.
- Complex data transformations may require JavaScript coding.
- Real-time processing depends on the speed of the Google Cloud APIs.