Back to Blog

automation

Use a Shopify Skill to Trigger Post-Purchase Surveys

Use the shopify-admin-post-purchase-survey-trigger skill to build clean post-purchase survey recipient lists from fulfilled Shopify orders.

OpenAgentSkillPublished:

Where this fits

A store owner wants to ask customers about the unboxing experience after they have lived with the product for a week. The developer's task is to build a campaign list without manually exporting and filtering orders. This skill lets an agent find orders fulfilled 7–14 days ago that are still eligible for a post-purchase survey, read-only.

Why agents benefit

  • Queries Shopify's GraphQL admin API directly, removing the need for custom scripts.
  • Uses survey_min_days and survey_max_days to target the exact fulfillment window.
  • Excludes refunded and cancelled orders, so survey sends stay relevant.
  • Applies an optional marketing-consent filter for compliant email and SMS campaigns.
  • Outputs a clean recipient list ready for automation tools.

Practical scenarios

Weekly survey list generation

Run the skill every Monday with survey_min_days=7 and survey_max_days=14 to produce the week's eligible orders for a Klaviyo segment.

Product feedback after delivery

A DTC brand sends a Net Promoter Score survey 10 days after fulfillment. The agent selects only completed, non-refunded orders from that window.

Compliance-aware retention research

A privacy-conscious store enables the consent filter so only customers who opted into follow-up messages receive the survey, reducing spam complaints and consent risk.

Add it to your agent workflow

Install it with:

npx skills add 40RTY-ai/shopify-admin-skills --skill shopify-admin-post-purchase-survey-trigger

Authenticate Shopify CLI with read-only scopes: read_orders, read_customers, read_fulfillments. Then ask your agent: Build the survey list for mystore.myshopify.com using the post-purchase survey trigger skill, window 10–14 days, only consented customers. The agent returns the recipient list without creating or editing orders.

Compare before adopting

Compare quality signals by checking that the GraphQL operations match your Shopify API version. Check maintenance freshness by watching the author's commit cadence. Consider alternatives: a custom order export script, a loyalty app, or a direct CSV filter. Weigh workflow fit by deciding whether your agent may call read-only Shopify skills or needs a guarded execution path.

Why it is worth tracking

This skill is stable, narrowly scoped, and has 182 GitHub stars, so it is more likely to stay in sync with Shopify's admin API changes. The read-only design makes it safe enough to test in a staging or production store, and the 7–14 day window matches common post-purchase survey timing. Track it on OpenAgentSkill to see version updates and quality signals before making it a permanent part of your automation stack. You can track this entry at OpenAgentSkill (https://www.openagentskill.com/skills/40rty-ai-shopify-admin-post-purchase-survey-trigger) to follow its evolution.

Featured Skill

shopify-admin-post-purchase-survey-trigger

Skill by 40RTY-ai