Suggest fit reasons for Gorgias return tickets with Avian

Suggest whether an approved apparel return note says the item was too small or too large in a dedicated Gorgias review field.

15 stepsCustomer supportE-commerce

Free to start, no card required.

How it works

  1. When this happens

    Receive a return review reference

    Webhook

  2. Step 1 · Code

    Set the two Gorgias field IDs

  3. Step 2

    Check the return ticket reference

    Follows the first path that matches

    • Ticket identified

      1. Step 3 · Gorgias

        Read the approved return excerpt

      2. Step 4 · Code

        Check the approved fit excerpt

      3. Step 5

        Check the approved excerpt

        Follows the first path that matches

        • Approved excerpt without a suggestion

          1. Step 6 · Avian

            Suggest the direction of the fit issue

          2. Step 7 · Code

            Check the suggested code and quotation

          3. Step 8

            Check for a supported fit suggestion

            Follows the first path that matches

            • One supported fit direction

              1. Step 9 · Gorgias

                Recheck the approved ticket excerpt

              2. Step 10 · Code

                Check for edits or a staff decision

              3. Step 11

                Check the current review state

                Follows the first path that matches

                • Staff still have an empty review field

                  1. Step 12 · Gorgias

                    Save the suggested fit reason

                  2. Step 13 · Gorgias

                    Read the ticket after the suggestion

                  3. Step 14 · Code

                    Confirm the saved review value

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Have a Gorgias HTTP integration send ticket_id when staff mark an apparel return fit-review-ready; set the same secret header on both ends. Enter the two ticket field IDs for a staff-approved anonymous fit excerpt and a separate text field for the suggestions too_small or too_large. Choose an Avian model with JSON output and leave memory empty; staff review the suggestion before using it in return reports.

Accounts to connect

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