Build a custom Prismatic connector for an internal API
Когда использовать: You have an internal API that your Prismatic flows need to talk to.
Поток
-
Scaffold the connectorUse prismatic-skills. Scaffold a connector for our Orders API — base URL, bearer auth, actions for list, get, create.✓ Скопировано→ Connector directory with TS entry points, manifest, test files
-
Implement actionsFill in the listOrders action with pagination and error handling.✓ Скопировано→ TS implementation with types and Prismatic input/output conventions
-
Test locallyRun the test harness with a mock response.✓ Скопировано→ prism tests output; green
Итог: A deployable connector with actions your flows can use.
Подводные камни
- Missing input validation — Prismatic validates at the platform boundary; still use Zod or similar for runtime safety