How to Setup Bearer Token in HubSpot Workflow Custom Code

How to Setup Bearer Token in HubSpot Workflow Custom Code

When building custom integrations in HubSpot, you often need to securely call external services like AWS Lambda. To protect your endpoint, you should use a Bearer Token inside your workflow’s Custom Code action. In this guide, I will show you step by step how to setup and use a Bearer Token in HubSpot Workflow Custom … Read more

How to Make Reliable HubSpot API Requests in Python (With Retry Logic)

How to Make Reliable HubSpot API Requests in Python (With Retry Logic)

Working with APIs can sometimes be tricky, especially when dealing with network timeouts, server errors, or rate limits.In this post, we’ll walk through a Python function that makes requests to the HubSpot API with built-in retry logic to make it more reliable. Why You Need Retry Logic for API Calls When you send a request … Read more

How to Use HubSpot CRM v4 Associations: A Guide for Beginners

How to Use HubSpot CRM v4 Associations

If you’ve tried to use HubSpot’s v4 Association API, you probably felt confused. The docs are complex, the setup isn’t beginner-friendly, and the new structure (compared to v3) isn’t easy to follow. In this guide, I’ll walk you through how I got it working—step-by-step. 🤔 What Are “Associations” in HubSpot? Associations mean connecting two objects … Read more

How to Avoid AWS Lambda Timeout When Processing HubSpot Records

How to Avoid AWS Lambda Timeout When Processing HubSpot Records

🧠 The Problem When using AWS Lambda to process HubSpot objects records (specially for company data), there is a limit. One Lambda function can only run for up to 15 minutes. If it takes longer, it will stop automatically. This happened in our setup. The Lambda logs showed this error: We were using batch processing, … Read more

How to Structure Your Python Projects for AWS Lambda, APIs, and CLI Tools

How to Structure Your Python Projects for AWS Lambda, APIs, and CLI Tools

✅ Beginner-friendly | 🔥 Hands-on Guide | 🧩 File Structure Examples When you start working on Python projects—whether for AWS Lambda, building an API, or creating a CLI tool—it’s important to organize your code in a clean and simple way. A well-structured project is easy to maintain, scale, and share with others. In this post, … Read more

How to Use Flake8 and Black for Python Code Quality and Style Consistency

How to Use Flake8 and Black for Python Code Quality and Style Consistency

In this tutorial, we will learn how to use Flake8 to ensure Python code quality and Black to enforce consistent style. These two tools complement each other perfectly—Flake8 helps you identify common mistakes and ensures your code follows good practices, while Black automatically formats your code for consistency and readability. Purpose Integrating Flake8 and Black … Read more

Understanding isinstance(), hasattr(), Classes, Attributes, and Objects in Python

Python classes, attributes and object tutorial

In this tutorial, we’ll break down some common fundamental concepts in Python: classes, attributes, objects, and the powerful built-in functions isinstance() and hasattr(). These topics are the building blocks of object-oriented programming (OOP) in Python and will help you write more efficient, organized code. Scope This blog is a beginner-friendly guide to understanding Python’s isinstance(), … Read more

Connecting AWS Lambda to Microsoft SQL Server Using PyODBC

In this tutorial, we will guide you through the process of connecting AWS Lambda to Microsoft SQL Server using PyODBC. This is particularly useful for developers and system administrators who need to interact with SQL Server databases from AWS Lambda functions. Scope The scope of this tutorial includes setting up a container environment, installing necessary … Read more