Skip to content
Meta

Magento returning customer bidding in Meta: agent skill

The set-up-magento-meta-returning-customer-bidding agent skill: send repeat orders from Magento to Meta as PMReturningCustomer through the Meta Conversions API with Advanced Matching, and optimise a campaign on a custom conversion.

set-up-magento-meta-returning-customer-bidding sets up returning customer bidding for Magento in Meta with Product Metrics. Send repeat orders from Magento to Meta as PMReturningCustomer through the Meta Conversions API with Advanced Matching, and optimise a campaign on a custom conversion. It follows the guide Magento returning customer bidding in Meta.

The skill

Read the full file at /.well-known/agent-skills/set-up-magento-meta-returning-customer-bidding/SKILL.md, or install it with:

pnpm dlx skills add https://www.productmetrics.io/docs \
  --skill set-up-magento-meta-returning-customer-bidding

When an agent uses it

  • “Set up a retention campaign that values repeat orders.”
  • “Bid on returning customers in Meta.”
  • “Is the conversion sent for every repeat order?”

What it does

  1. Reads where your setup stands and skips every step that is already done.
  2. Checks how your store’s orders are counted as new or returning.
  3. Creates the returning customer conversions and has you bid on one in the campaign for returning customers in Meta.
  4. Checks a test order from a customer who ordered before.
  5. Tells you which value Meta bids on now and what is left for you.

The agent works through the productmetrics CLI or the MCP server. Steps in your store admin or ad platform stay with you: the agent gives you the exact labels and waits until you are done.

What’s in it

The skill is a short SKILL.md with the workflow, plus reference files the agent reads only when it needs them. Each reference is built from a page in these docs:

ReferenceBuilt from
references/returning-customer-bidding.mdMagento returning customer bidding in Meta
references/connect-magento.mdMagento server-side tracking and profit bidding (POAS)
references/connect-meta.mdMeta Conversions API and Advanced Matching
references/working-with-product-metrics.mdCLI for agents