Check Credits
AI-generatedSummary
Checks the remaining API credits on the S.C.A.L.A. Score account by sending a GET request to the service's /api/score/credits endpoint.
Inputs
- Credentials (scalaScoreApi) (required) — Supplies the base URL and API key. The key is sent in the X-API-Key header. This is the only input; the operation has no parameters of its own.
Output shape
One output item per input item, each holding the JSON response from the credits endpoint (the remaining credit balance).
The exact response fields aren't defined in the node source. If the response has a top-level array under results, companies or data, each array element becomes its own item. Otherwise the whole response is returned as a single item. The request runs once for every incoming item, so multiple input items cause repeated calls.
Examples
Example 1: Check the balance before generating a paid report, so the workflow only continues if enough credits remain.
Operation: Check Credits. Follow it with an IF node that tests the returned credit value.
Example 2: Run a scheduled credit-balance check and send an alert when it gets low.
Schedule Trigger → S.C.A.L.A. Score (Check Credits) → IF → Slack or Email.