Build a custom Prismatic connector for an internal API
Wann einsetzen: You have an internal API that your Prismatic flows need to talk to.
Ablauf
-
Scaffold the connectorUse prismatic-skills. Scaffold a connector for our Orders API — base URL, bearer auth, actions for list, get, create.✓ Kopiert→ Connector directory with TS entry points, manifest, test files
-
Implement actionsFill in the listOrders action with pagination and error handling.✓ Kopiert→ TS implementation with types and Prismatic input/output conventions
-
Test locallyRun the test harness with a mock response.✓ Kopiert→ prism tests output; green
Ergebnis: A deployable connector with actions your flows can use.
Fallstricke
- Missing input validation — Prismatic validates at the platform boundary; still use Zod or similar for runtime safety