Connect AWS Lambda and Google BigQuery to unlock the power of automation
- No credit card required
- Free forever for core features
- 14-day trial for premium features and apps
How Zapier works
Zapier makes it easy to integrate AWS Lambda with Google BigQuery - no code necessary. See how you can get setup in minutes.
Choose a trigger
A trigger is the event that starts your Zap—like a "New Function" from AWS Lambda.
Add your action
An action happens after the trigger—such as "Create Row" in Google BigQuery.
You’re connected!
Zapier seamlessly connects AWS Lambda and Google BigQuery, automating your workflow.
Supported triggers and actions
Zapier helps you create workflows that connect your apps to automate repetitive tasks. A trigger is an event that starts a workflow, and an action is an event a Zap performs.
- Region
Try ItTriggerPolling- Region
- FunctionRequired
- ArgumentsRequired
ActionWrite- ProjectRequired
- Dataset
- Table
Try ItTriggerPolling- Project IDRequired
- Job IDRequired
- LocationRequired
Try ItTriggerPolling
- Region
- FunctionRequired
- ArgumentsRequired
ActionWrite- Region
- Input ObjectRequired
- CodeRequired
ActionWrite- Project IDRequired
- DatasetRequired
- TableRequired
- Sort By ColumnRequired
- Unique ColumnRequired
Try ItTriggerPolling- Project IDRequired
- DatasetRequired
- TableRequired
- Unique ColumnRequired
- IS Operator
Try ItTriggerPolling
Zapier is the automation platform of choice for 87% of Forbes Cloud 100 companies in 2023




93%
Customers who say using Zapier has made them better at their job
25m
Customers have created over 25 million Zaps on the platform
6 mins
The average user takes less than 6 minutes to set up a Zap
Learn how to automate Google BigQuery on the Zapier blog
Frequently Asked Questions about AWS Lambda + Google BigQuery integrations
New to automation with Zapier? You're not alone. Here are some answers to common questions about how Zapier works with AWS Lambda and Google BigQuery
How do I set up a trigger to run an AWS Lambda function when new data is inserted into Google BigQuery?
To trigger an AWS Lambda function when new data is inserted into Google BigQuery, we can use a combination of Google Cloud Functions and Pub/Sub. First, configure a BigQuery dataset to export logs to Pub/Sub. Then, we create a Cloud Function that listens to this Pub/Sub topic for new data events and subsequently triggers the AWS Lambda via an HTTP request using API Gateway.
Can AWS Lambda write data directly into Google BigQuery?
AWS Lambda does not directly write to Google BigQuery. Instead, we can interact with BigQuery using the Cloud Client Libraries for Python or Node.js in our Lambda function. This requires setting up service account credentials with appropriate permissions that the AWS Lambda can utilize via environment variables.
What permissions are required for AWS Lambda to access Google BigQuery?
To allow AWS Lambda access to Google BigQuery, we need a service account key file with roles such as 'BigQuery Data Viewer' and 'BigQuery Job User'. These permissions enable the execution of queries and viewing of datasets. The key file must be securely stored in AWS Secrets Manager or encrypted with KMS, allowing the lambda function to access it at runtime.
How do I ensure secure communication between AWS Lambda and Google BigQuery?
Secure communication between AWS Lambda and Google BigQuery is ensured by using HTTPS endpoints through API Gateway when invoking from outside Google's network. Within our application code running in Lambda, employing OAuth 2.0 authentication with Google's API client libraries helps manage secure tokens without constant user intervention.
Can an AWS Lambda function be triggered by changes in a particular table in BigQuery?
Direct triggering of an AWS Lambda based on changes in specific tables within BigQuery isn't natively supported. However, setting up alerts or changes logs that produce outputs via Pub/Sub allows our setup with Cloud Functions or external scripts (in VM environments) that communicate and invoke actions on specific changes facilitating triggers indirectly.
Is it possible to stream data from AWS services into Google BigQuery using lambda functions?
Yes, streaming data from various AWS services like S3 or DynamoDB into Google BigQuery is possible using lambda functions as intermediaries. Our approach involves extracting events or records from these services within a lambda execution context and then sending them over HTTP POST requests directly or via secured channels facilitated by API Gateway toward Google's Data Ingestion APIs.
How can I monitor errors when integrating AWS Lambda with Google BigQuery?
Monitoring errors in such integrations can involve checking logs generated by both systems. Using Amazon CloudWatch allows us to track executions within the lambda environment, while Stackdriver Logging (now part of Operations Suite) gives insights into requests reaching and being processed by Google's infrastructure for anomaly detection.