salla-app-functions-test
Installation
SKILL.md
App Functions — Test on a Demo Store (preview)
Run a saved function with salla_functions action=preview: it invokes the function
server-side against a demo store and returns the response. Use it after save to verify
behavior before publishing — no Portal needed.
save and deploy_status also hand back a preview URL. Ignore it: it is authenticated and
not client-callable, so action=preview is the way to run the function — it holds the auth
that URL needs.
1. Wait for the deploy
save returns a deploy job. The function isn't runnable until that deploy finishes:
- Poll
salla_functions action=deploy_status,job(the value action=save returns) →statusCOMPLETEDmeans ready;FAILED→ readfailure_reasonand fix. - Or just call
salla_functions action=preview— it returns "still deploying … retry in ~30s" until it's ready.