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