How to use it
- Add HTTP Request from DataSet the HTTPS URL, method and optional JSON request body.
- Choose an optional credentialAdd a key through the Variables / Credentials switch, then select it here. Never paste secret keys into ordinary variables, URLs or workflow content.
- Handle the responseConnect Flow and Response body to a JSON parser. Use HTTP status with a condition to handle non-success responses.
- Test without calling the APIExpand Simulator response and enter representative bodies and statuses. Simulation does not verify that the external API or key actually works.
Settings
These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.
API credentials
- In the node library, switch from Variables to Credentials.
- Select New credential, name it, enter the API origin (for example https://api.example.com), and paste the key.
- Save it, then choose it in the HTTP Request inspector. Use Bearer for Authorization headers, or API key only for headers such as X-API-Key.
Saved keys cannot be viewed again and work only with the API origin you chose. To replace a key, add a new credential, select it in the affected nodes, deploy, then remove the old credential.
Request limits
Use a public HTTPS URL on port 443. Redirects are not followed. Requests time out after 15 seconds. Request and response bodies can each be up to 64 KiB.
Account allowances
| Account limit | Free | Plus | Pro |
|---|---|---|---|
| HTTP requests / month | 1,000 | 20,000 | 100,000 |
| Concurrent HTTP requests | 1 | 3 | 10 |
Allowances are shared across your account and reset at the start of each UTC calendar month. Requests count even if the API returns an error or times out. Waiting requests and simulator tests do not use the allowance.
| Setting | Starting value | What it controls |
|---|---|---|
| Authentication header | Authorization | Authentication header name, usually Authorization or X-API-Key. |
| Key format | Bearer | Bearer prefixes the key with Bearer and a space; raw sends only the key. |
| Request body | Empty | Optional UTF-8 request body, sent with application/json content type; up to 64 KiB. |
| Credential | Empty | Choose a saved API key from this workspace, or leave empty if the API does not require one. |
| Method | GET | GET, POST, PUT, PATCH, DELETE or HEAD. |
| Simulator response body | {} | Response body to use when testing this node in the simulator. |
| Simulator HTTP status | 200 | Mock HTTP status used only by the simulator. |
| URL | https://example.com/api | Public HTTPS endpoint on port 443. Can also come from a connected text value. |
Value connections
Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.
Inputs
Outputs
What happens when it runs
The workflow waits for the response before continuing. Response body is text; HTTP status is a number. Use a condition to handle error statuses such as 404 or 500. Connection failures and timeouts stop the run without automatically retrying. The simulator uses your mock response instead of contacting the API.
You can use this item in a published BotFrame workflow. You can also test it in the simulator.