codefmt
HTTP GET with Error Handling
zapierFetch data from an API endpoint using inputData, with error handling and JSON response parsing.
Date Formatting & Parsing
zapierParse a date string from inputData and reformat it for downstream steps.
Map & Filter Array Data
zapierParse a JSON array from inputData, filter and transform each item, and return the results.
Input Validation & Sanitization
zapierValidate required inputData fields and sanitize values before processing.
Return Multiple Output Objects
zapierSplit a comma-separated inputData field into multiple output objects for downstream steps.
Process All Items
n8nLoop through all input items with $input.all(), transform each, and return results.
HTTP Request with Retry
n8nMake an HTTP request with exponential backoff retry logic using fetch.
Date Parsing & Timezone Handling
n8nParse dates from input, compute differences, and format with timezone offsets.
Try/Catch with Structured Errors
n8nWrap processing in try/catch and return structured error output for the error branch.
Access Data from Previous Nodes
n8nReference output data from specific previous nodes using $() notation.
Webhook Body Validation
pipedreamValidate an incoming webhook payload and return a structured response.
HTTP Request with axios
pipedreamMake an authenticated API request using Pipedream's built-in axios.
Data Store Read/Write
pipedreamUse $.service.db to persist and retrieve key-value data across workflow runs.
Environment Variable Access
pipedreamAccess and validate environment variables with fallback defaults.
Transform Bundle Input Fields
makeTransform and restructure fields from bundle.inputData for an API request.
Parse Nested JSON from Strings
makeSafely parse JSON strings from bundle.inputData, handling nested structures.
Error Handling with Structured Output
makeTry/catch pattern returning structured success or error output for Make scenarios.
Search Contacts by Email
hubspotLook up a HubSpot contact by email address using the CRM search API.
Custom Workflow Action with API Call
hubspotA custom coded workflow action that calls an external API and returns results.
Process Webhook Event
hubspotHandle an incoming webhook event, extract subscription data, and route by event type.
Error Handling with Callback
hubspotRobust error handling pattern using callback with structured error data.
For Loop with Conditionals
hublIterate over a list with if/else conditional rendering and loop index access.
Custom Module with Parameters
hublA reusable custom module template that reads module parameters and renders content.
Blog Post Listing
hublDisplay recent blog posts using content variables and blog_recent_posts.
Form Embed with Custom Styling
hublEmbed a HubSpot form with custom wrapper markup and conditional display.