Check shipping margin on an existing Yampi sale

Compare the freight charged at checkout against Jadlog and Correios contract quotes before dispatching the paid order.

8 stepsFinanceE-commerce

Free to start, no card required.

How it works

  1. When this happens

    Receive an authenticated request

    Webhook

  2. Step 1 · Yampi

    Read merchandise and freight values

  3. Step 2 · Code

    Check recorded order charges

  4. Step 3

    Confirm order values

    Follows the first path that matches

    • Confirmed sale

      1. Step 4 · Jadlog

        Get the Jadlog contract quote

      2. Step 5 · Correios

        Get the postal contract price

      3. Step 6 · Webhook

        Return the review result

    • Otherwise

      1. Step 7 · Webhook

        Return the review result

Before you start

Set the x-operations-key secret and POST billableKg, destination, grams, height, length, origin, width, yampiOrderId as JSON to /sync. Set the Jadlog payer and service and the Correios service code, then send yampiOrderId, origin and destination CEPs, billableKg for Jadlog, grams and dimensions in cm. Quotes use the paid order’s product value.

Accounts to connect

See all 200 in Finance

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template