Top companies trust Zapier to automate work that solves their unique business problems—no coding required.
How Zapier works
Zapier makes it easy to integrate AWS Lambda with HubSpot - no code necessary. See how you can get setup in minutes.
100%
Help
AWS Lambda
AWS Lambda
1. Choose trigger event
HubSpot
HubSpot
2. Choose action
1. Select the event
Setup
Test
AWS Lambda
Choose a trigger event
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 "Update Contact Subscription Preferences" in HubSpot.
You’re connected!
Zapier seamlessly connects AWS Lambda and HubSpot, 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.
Halt my task if contact is already a member of the list
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Company
Creates a Company in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Associations
Creates associations between objects.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Halt task if any associations error occurred
Engagement Type
Required
Assigned To
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Social Media Channel
Required
Message Content
Required
When
Save as draft
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Note
Name
Required
Company
Contact
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Delete CRM Object
Deletes a CRM object from HubSpot
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Company ID
Required
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Type of Custom Object
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Product ID
Required
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Line_item
Creates a Line_item in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Contact Email Address
Required
Event ID
Required
Contact Value
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Get CRM Object
Gets a CRM object from HubSpot by ID
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
List Name
Required
Contact
Required
Halt my task if contact wasn't a member of the list
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Create Ticket
Creates a Ticket in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Contact
Update a Contact in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Line_item
Update a Line_item in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Update Product
Update a Product in HubSpot.
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Type of Custom Object
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Folder
Required
Filename
Required
Access level
Required
File
Required
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Api_docs_info
Stop on error
Required
HTTP Method
Required
URL
Required
Query string parameters
Additional request headers
Body
Action
This is an event a Zap performs.
Write
Create a new record or update an existing record in your app.
Note
Name
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Name
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Find Associations
Find associations between objects.
Action
This is an event a Zap performs.
Search
Find existing data in your app
Object Type
Required
Pipeline Id
Required
Stage Id
Required
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search
Find existing data in your app
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Type of Custom Object
Required
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
Note
Additional properties to retrieve
Action
This is an event a Zap performs.
Search or write
Find existing data in your app, or create a new record if no data is found
For AI agents & developers
Use AWS Lambda and HubSpot with AI agents and code
Beyond Zap workflows. Call AWS Lambda and HubSpot actions directly from your AI client or your codebase, using the same 9,000+ app integrations Zapier already runs.
No code
Connect via Zapier MCP
Expose AWS Lambda and HubSpot actions as tools in any MCP client. Authenticate once, then call them in natural language.
Example actions on this page
Invoke Function (Async)
Update Contact Subscription Preferences
Works with
Claude · ChatGPT · Cursor · any MCP-compatible client
There is no Python package yet. SDK is TypeScript-only (@zapier/zapier-sdk). The MCP server URL is personal to your account; get it at zapier.com/mcp.
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
Practical ways you can use AWS Lambda and HubSpot
Trigger AWS Lambda function when a new deal is created.
When a new deal is created in HubSpot, Zapier triggers an AWS Lambda function to analyze the deal's data and provide insights or take predefined actions. This integration gives business owners valuable data analysis and automates initial processing, saving time and ensuring every deal gets the necessary attention.
Run code with AWS Lambda for HubSpot company updates.
When a company is recently updated in HubSpot, Zapier triggers AWS Lambda to execute custom code. This action streamlines data sync processes, ensuring IT teams automate repetitive tasks such as formatting, validations, or integrations with internal tools, improving reliability and maintaining data integrity.
Invoke AWS Lambda for new HubSpot form submission.
Whenever a new form submission is recorded in HubSpot, Zapier activates a predefined AWS Lambda function. This automation allows marketing teams to analyze form data, personalize outreach, or update marketing workflows in real-time, improving lead responsiveness and campaign efficiency.
Level up your AWS Lambda to HubSpot integration with AI. Extract, summarize, and transform your integration data with leading AI models like OpenAI, Anthropic, and more.
Frequently Asked Questions about AWS Lambda + HubSpot 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 HubSpot
What is AWS Lambda and how does it work with HubSpot?
AWS Lambda allows you to run code without provisioning servers, thus offering a serverless computing service. When integrated with HubSpot, AWS Lambda can be triggered by events in HubSpot to execute specific actions. This means that whenever a particular event occurs in your HubSpot account, such as a new contact creation or form submission, AWS Lambda can automatically initiate custom workflows or processes according to the logic defined in your function.
How can I trigger an AWS Lambda function from a HubSpot event?
You can trigger an AWS Lambda function using webhooks set up in HubSpot. When a specific event occurs, like the updating of a contact or deal, the webhook sends HTTP requests to your configured endpoint. AWS API Gateway then receives these requests and triggers the corresponding Lambda function with the payload received from HubSpot.
What data does AWS Lambda receive from HubSpot when triggered?
Once triggered by an event in HubSpot through a webhook, AWS Lambda receives data relevant to that event. For example, if it’s a new contact creation trigger, the payload will include details about the contact like email address, name, and other properties that you have defined within your webhook settings.
Can AWS Lambda send data back to HubSpot after processing?
Yes, after processing an event or task, AWS Lambda can interact with HubSpot’s APIs to send data back or perform operations such as updating records. By making HTTP requests from within your function code to HubSpot’s endpoints, you ensure seamless interaction between AWS services and your CRM system.
Is it possible to schedule regular tasks between HubSpot and AWS using this integration?
While direct scheduling might not be supported through webhook-driven integrations alone, you can use Amazon CloudWatch Events in combination with AWS Lambda for scheduled tasks. This setup allows us to execute periodic jobs like data synchronization between Amazon services and your CRM system on predetermined intervals.
Are there any limitations when integrating AWS Lambda with HubSpot?
When integrating these systems via webhooks and APIs, one limitation could be the request limits imposed by each platform. Another factor is ensuring that payload sizes fit within constraints established by both services; large amounts of data might need processing in chunks or batches.
How secure is the integration between Aws lambda and hubspot?
Security is maintained through encrypted communications over HTTPS and authentication processes for both platforms. Moreover As part of best practices it’s crucial implementing secret management for API keys employing token-based auth if possible along applying strict least-privilege policies on resources those would access sensitive operational operations
About AWS Lambda
AWS Lambda is a compute service that runs your code in response to events and automatically manages the compute resources for you, making it easy to build applications that respond quickly to new information.