App Action
Runs one action of an app with one of your connections, for example GitHub: Create issue or Slack: Post message. The app defines the request (method, path, body, pagination), so you only fill in the inputs. For the list of apps and their actions, see Official apps. Your own custom apps can define actions too.
Use the HTTP Request step instead when the app has no action for what you need. It can use the same connection.
Add an App Action
The easiest way is the editor's step list (the Toolbox, Tab, or + on a step): search
for an action, for example "github create issue", and click it or drag it onto the canvas. The new step is already
set to that app and action. You can also add the plain App Action step (Built-in steps → Apps) and choose
everything yourself.
Open the step to configure it:
- App: the app. Only apps that have actions are listed.
- Connection: one of your connections to this app. The list only shows connections of this app (any of its auth options). If you have none yet, click Connect new… (or Connect (…) for each auth option when the app has several) to connect right from the sheet. The new connection is selected for you.
- Action: the action to run. Its description is shown below the picker.
- Inputs: one field per input of the action, built from the app's definition. Required inputs are marked
with
*. - The options below the inputs (pagination, timeout, retries, see Options).
Click Save. A link to the app's API docs is shown at the bottom of the sheet when the app has one.
Parameters
| Parameter | Required | Description |
|---|---|---|
connectionId | Yes | The connection to use. It must belong to the app in app |
app | Yes | The app's slug, for example github. Custom apps use custom:<definition id> |
action | Yes | The action key, for example create_issue |
inputs | No | An object of input values, keyed by the action's input keys |
connectionId is the standard parameter name. Steps saved with the older connection key still work.
The editor validates the step before you publish: the connection must belong to the app, the action must exist, and required inputs must be set.
Inputs and expressions
Required inputs are shown first. Optional inputs, and inputs that are filled from another input when left empty (Leave empty to use File), are under More options.
File inputs (uploads, attachments) pick a file from an earlier step with + File: the picker lists only files, for example a download, a webhook upload or a generated file. lets you enter an expression or a provider file id instead.
Every text-like input accepts data from earlier steps (+ Data) and expressions:
{
"owner": "acme",
"repo": "website",
"title": "Order {{ $trigger.id }} failed",
"body": "Customer: {{ $nodes['Get customer'].email }}",
"labels": "bug, payments"
}
Values are converted to the input's type before the request is sent:
| Type | What you can enter |
|---|---|
string, text | Any text |
number | A number, or text such as "42" |
boolean | A checkbox in the editor; true / false |
array | A JSON array (["bug", "urgent"]), comma-separated text (bug, urgent), or an expression that returns a list. The editor shows it as list items, built like an HTTP JSON body (a list of groups for inputs such as OpenAI's messages); Edit as JSON writes it as text |
object | A JSON object, or an expression that returns an object. The editor shows it as fields, like an HTTP JSON body |
select | One of the listed options. Any other value fails the step |
datetime | An ISO 8601 date, for example {{ $now }} |
Empty inputs are left out of the request. An input with a default uses its default when left empty.
How the request is built
For each run, Blokkio builds the request from the action's definition and your inputs:
- Path. Placeholders such as
/repos/{owner}/{repo}/issuesare replaced by the inputs of the same name, URL-encoded, somy repobecomesmy%20repo. An empty path input fails the step. - Base URL. The path is resolved against the app's base URL, keeping the base path:
https://api.notion.com/v1+/pagesgiveshttps://api.notion.com/v1/pages. - Query. Fixed query parameters of the action are added first. Query inputs override them. A list is sent as comma-separated text.
- Headers. Fixed headers of the action, then header inputs (which must not contain line breaks).
- Body. Body inputs are collected into a JSON object, merged into the action's fixed body if it has one
(for example a GraphQL query). An input can be placed at a nested position, for example Notion's
database_idgoes toparent.database_id. Some apps, such as Stripe, send a form-encoded body instead, with bracket notation for nested values (metadata[plan]=pro). - Default headers. The app's default headers (for example GitHub's
X-GitHub-Api-Version) are added when the request doesn't already have them. - Sign-in details. The connection's sign-in details are applied last, as for the HTTP Request step. They are resolved in the run's environment.
The request goes through the same network protection as the HTTP Request step. A response larger than Largest response (below) fails the step; downloads are streamed to storage, and text answers over 10 MB are saved as a file.
Options
In the editor these are under Advanced settings.
| Option | Default | Description |
|---|---|---|
| Fetch all pages (when the action paginates) | On | Only for actions that paginate. Turn it off to fetch just the first page |
| Max pages | The action's limit (usually 10) | Upper bound for pagination, 1–1000 |
| Time limit per request (seconds) | The action's suggestion, else 30 | Per attempt, 1–300. File uploads and downloads of Dropbox, Google Drive and OneDrive suggest 120 |
| Largest response (MB) | The action's suggestion, else 250 | 1–1024. Larger responses fail the step; downloaded files count toward the project's storage |
| Retries | 0 | 0–10 extra attempts on 408, 425, 429, 500, 502, 503, 504, network errors and timeouts |
| Retry delay (ms, exponential, honours Retry-After) | 1000 | Base delay, 0–60000. Doubles each attempt. A Retry-After header is used instead when the server sends one |
| Never fail on API errors | Off | Output the error instead of failing the step (see Errors) |
The common step settings (error port, continue on error, step-level retries) apply as well.
Pagination
Some actions, such as GitHub List issues or Slack List channels, paginate. The app defines how: by offset,
page number, a cursor from the response, or the Link header. With Fetch all pages on, the step requests
page after page and combines the items. It stops when a page is empty, a page is shorter than the page size, the
cursor is empty, there is no next link, or Max pages is reached.
Expired credentials
If the API answers 401, Blokkio refreshes the connection's sign-in details (OAuth 2.0) and retries the request once.
If it still gets 401, the connection is marked as failing on the Connections page.
Output
The output is the parsed response body. Some actions select part of it, for example Slack Get user returns the
user object rather than the whole response.
-
An object response is the output as-is:
{{ $nodes['GitHub: Create issue'].html_url }}{{ $nodes['GitHub: Create issue'].number }} -
A list response is wrapped, so the output is always an object:
{ "items": [ { "id": "cus_123", "email": "ana@example.com" } ], "count": 1 } -
A paginated action returns the items of all pages and the number of pages fetched:
{ "items": [ { "number": 42, "title": "Crash on login" } ], "pages": 3 }
When the app describes its output, the fields show up in the expression picker of later steps.
Errors
The step fails when:
- the API answers with a non-2xx status, with a message such as
GitHub: Create issue failed: HTTP 422 Unprocessable Entity: {"message":"Validation Failed",…}(the first 500 characters of the body); - the API reports an error in a
200response. Slack does this with"ok": false, and Linear's GraphQL API with anerrorsarray. The message is the API's error; - a required input is missing, an input has the wrong type, or the connection doesn't belong to the app;
- the request times out or can't be sent.
With Never fail on API errors on, an error response doesn't fail the step. The output is then:
{ "error": "HTTP 404 Not Found: {\"message\":\"Not Found\"}", "statusCode": 404, "body": { "message": "Not Found" } }
Branch on {{ $nodes['GitHub: Create issue'].error }} with an If / Else step. Missing inputs and network
errors still fail the step.
Self-hosted workers
When your project is assigned to a self-hosted worker pool, App Action steps run on your workers, so the app is called from your network:
- Your worker gets the app's actions (and its address) from Blokkio for the step it's running. Blokkio signs each request with the connection's credentials and checks that it goes to one of the app's allowed domains; the worker then sends it through its own outbound guard (private addresses are blocked unless you allow them).
- A connection field can use a secret from a worker-pool secret store
(
secret://API_TOKEN). Your worker reads the value from your vault and puts it into the request itself; Blokkio never receives it. This also works for a part of the app's address built from a connection field (for example a bot token in the path), but not for the whole address or its domain. - OAuth2 connections work too: if the app rejects an access token, Blokkio refreshes it and the worker retries once. The OAuth client secret itself must be readable by Blokkio (not kept in a worker-pool store).
- Files you send or receive go through Blokkio storage, as with other steps on your worker.
- The worker needs a recent version (it lists App actions under its capabilities in Settings → Workers). Blokkio only hands App Action steps to such workers; if none is online, the step fails right away and pre-flight warns you to update the worker image.
- App actions used as AI Agent tools run on your worker the same way.