Skip to content
HTTP (OAuth2)

How to use HTTP (OAuth2)

Cost: 1 credit per runFull guide

What it is for

HTTP (OAuth2) lets you call any API that uses OAuth2, even without a dedicated flooows component. flooows handles sign-in and token refresh; you only define the request.

HTTP (OAuth2) has no triggers: use it as an action inside flows started by other triggers.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account)

  1. 1In the service's developer portal, register an OAuth app and get its Client ID and Client Secret.
  2. 2Find the authorization URL, token URL and scopes you need in its API documentation.
  3. 3In flooows, add the HTTP (OAuth2) step, click "Connect" and enter those details.
  4. 4Copy the Redirect URL shown by flooows and add it to the app settings on the provider side.
  5. 5Sign in, grant permissions and save the connection.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Send an OAuth2 Request: enter the endpoint's full "URL" and pick the "Method" (GET, POST, PATCH...).
  • Add "Headers" and "Query Parameters" per the docs; the access token is included automatically.
  • Choose a "Body Type" (for example JSON) and build the "Body" by mapping data from earlier steps.
  • Enable "Return Error as Output" to handle errors inside the flow with a condition.

Tips

  • •Request only the scopes you really need.
  • •Adjust "Timeout" for slow APIs and use "Use Proxy" only if your provider requires it.

Actions (1)

Operations available as flow steps. Expand each one to see its fields.

Send an OAuth2 Request10 fields
FieldTypeRequired
URLTextYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Use ProxyYes / NoNo
Proxy SettingsDynamic fieldsNo
Return Error as OutputYes / NoNo
TimeoutNumberNo

Common errors

redirect_uri_mismatch

The Redirect URL registered with the provider must match the flooows one exactly.

invalid_scope or 403

Check the requested scopes and reconnect.

401 after a while

The refresh token expired or was revoked; reconnect the account.

429 Too Many Requests

Add delays or retries according to the API limits.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps