Use Hoko with Power Automate
Use a customer-owned Power Automate flow as a relay to Hoko’s REST API. The current recipe is actions-only and calls unversioned POST /links and GET /links?externalId=...; it does not require a job runner.
- Create a workspace-scoped Hoko API key and keep it in Power Automate’s secure connection settings.
- Import Hoko’s OpenAPI definition as a custom connector and configure the secure
X-API-Keyconnection. Never put the key in flow text. - Create a flow that calls
POST /linkswith the destination and required parameters. - Store an
externalIdfrom your business record. If a call times out, callGET /links?externalId=...before retrying. - Run one controlled record and inspect the returned Hoko link. Keep the retry policy None while validating.
The create body is an array, even for one link:
[
{
"url": "https://example.com/product",
"collectionId": "<collection_id>",
"externalId": "product-42"
}
]
Disable or delete the flow, remove the connector connection, and revoke the API key when finished. · technical recipe