Third-Party APIs
> Connect your Brickr flows to external services using HTTP requests and built-in integration nodes.
HTTP Request node
The HTTP Request node lets you call any external API. It is the most flexible way to integrate with third-party services.
| Input | Type | Description | |-------|------|-------------| | url | String | The API endpoint URL | | method | Enum | GET, POST, PUT, DELETE, PATCH, OPTIONS, HEAD | | headers | Object | Request headers (e.g., Authorization, Content-Type) | | body | Object | Request body (for POST, PUT, PATCH) | | timeout | Number | Timeout in milliseconds |
| Output | Type | Description | |--------|------|-------------| | response | Object | The parsed response body | | status | Number | HTTP status code | | statusText | String | Status text (e.g., "OK") |
Example: Calling Stripe
1. Add an HTTP Request node. 2. Set url to https://api.stripe.com/v1/charges. 3. Set method to POST. 4. In headers, set Authorization to Bearer {STRIPE_API_KEY} (using a secret). 5. Set body with the charge data.
Built-in integrations
Brickr includes pre-built nodes for popular services. These are simpler to use than raw HTTP requests because they handle authentication and formatting for you.
Shopify
| Node | Description | |------|-------------| | Shopify Get Collections | List product collections | | Shopify Get Products | List products with filters | | Shopify Get Product by ID | Fetch a single product | | Shopify Create Product | Create a new product | | Shopify Update Product | Update an existing product | | Shopify Delete Product | Remove a product | | Shopify Get Orders | List orders |
Slack
| Node | Description | |------|-------------| | Slack Send Message | Send a message to a channel | | Slack Upload File | Upload a file to a channel | | Slack Create Channel | Create a new channel | | Slack Add Reaction | Add an emoji reaction | | Slack Get User Info | Look up user details | | Slack Schedule Message | Send a message at a specific time | | Slack Update Message | Edit an existing message |
Email services
| Node | Description | |------|-------------| | Send Email (Resend) | Send email via Resend API | | Send Email (SendGrid) | Send email via SendGrid | | Send Email (Mailjet) | Send email via Mailjet | | Send Twilio SMS | Send SMS via Twilio |
Supabase
| Node | Description | |------|-------------| | Supabase Select | Query data from a Supabase table | | Supabase Insert | Insert rows into a Supabase table | | Supabase Update | Update rows in a Supabase table | | Supabase Delete | Delete rows from a Supabase table |
Free utility APIs
These nodes connect to free public APIs and require no API key:
| Node | Description | |------|-------------| | QR Generator | Generate QR code images from text | | Random Image | Get a random placeholder image | | IP Geolocation | Look up geographic info for an IP address | | Cat Image | Get a random cat image | | Exchange Rates | Get current currency exchange rates |
Calling other Brickr routes
The Brickr Route node lets you call another route in your workspace from within a flow. This is useful for breaking complex logic across multiple routes.
For integrations that require an API key, store the key in Secrets and reference it with the {SECRET_NAME} syntax. This keeps your credentials secure and makes them easy to rotate.
What's next?
| Topic | Description | |-------|-------------| | HTTP Nodes | HTTP node reference | | Secrets | Manage API keys securely | | Webhooks | Receive calls from external services | | Email | Email integration details |