Add application/survey intent type (create, edit) - #14
Conversation
Proposes a new Sidekick intent type for creating and editing shopper surveys (post-purchase, order status, POS, link). Includes draft JSON Schema with no required fields per Sidekick schema requirements. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
I have signed the CLA! |
|
Friendly bump — this is just past the 5-business-day mark from the CONTRIBUTING SLA, so flagging for triage. cc @shopify/sidekick-intents, and @adambarrus in case the team alias doesn't reach anyone. Happy to iterate on the schema. One catalog-level question I'd value your read on, since it changes how much belongs in this type versus elsewhere. Every
Separately, CONTRIBUTING notes that merging documents the proposal but doesn't publish the type. Whenever there's even a rough sense of the publish timeline for Thanks! |
|
Hi @dhegstad, first: apologies for the slow turnaround. This sat well past the SLA in our CONTRIBUTING guide and that's on me. Thank you for the patience and for a genuinely well-constructed proposal: the prior-art analysis against Initial reactions while we do a full schema review:
Next step: I'm getting engineering eyes on the draft schema and will come back with a consolidated review by end of this week. Thanks again for being an early adopter here, this is the kind of contribution the catalog needs. |
Proposed type
application/surveycreateandeditWhy this type
Real merchant asks this captures:
editthat today requires finding the right app, survey, and question by hand.Who would register intents for it
Schema sketch
Full draft is inline in
types/application-survey.mdin this PR. Shape summary:id,name,status(draft/active/paused),placements(thank_you/order_status/pos/link),questions[](prompt,type,options,allow_other),success_message,starts_at/ends_at.Confirmed:
inputSchemadoes not declarerequiredfieldstypes/(snake_case, matching fields proposed onapplication/review)application/*, the schema refs the canonical application schema (TOML example$refs the would-be canonical URL; draft inline pending publication)shopify/*— n/aPrior art
application/reviewis the closest existing type, but it models a public, product-scoped, single-rating artifact authored by a customer. A survey is private, merchant-scoped, multi-question, and placement-aware — the only overlapping field isid, so extendingreviewwould fragment it.application/faqis published content shoppers read; a survey is a form shoppers answer — opposite data direction.application/campaignmay distribute a survey, but the questionnaire artifact itself (questions, placements, scheduling) has a distinct shape.Anything else
🤖 Generated with Claude Code