Actions8
Health → Test Connection
AI-generatedSummary
Verifies the Ghost credentials by sending an authenticated GET request to the Ghost Admin API site/ endpoint and returning the site info with an ok: true flag.
Inputs
None.
Output shape
One item per input item, shaped as { ok: true, site:
The operation has no parameters. It uses the ghostBlocksApi credential (site URL, Admin API key in {id}:{hex_secret} format, optional API version, default v5.0). A short-lived JWT is generated for each request. If the key format is invalid or the request fails, the node throws a NodeApiError. With Continue On Fail enabled, it returns { error: message } for that item instead. The request runs once per input item, so several input items cause repeated calls.
Examples
Example 1: Check that the Ghost credentials work before running a publishing workflow.
Resource: Health, Operation: Test Connection, with the Ghost Blocks API credential selected.
Example 2: Run a scheduled health check and alert on failure.
Resource: Health, Operation: Test Connection, Continue On Fail enabled. Follow with an IF node that checks whether error exists, then send a notification.