Change Log
  • What's new at Shopwaive?
  • posts
    • Initial change log release
    • Cash out options for Shopify Plus
    • Group offers at checkout
    • GET Actions API endpoint
    • Affiliate Referral program
    • Meet Waive. Shopwaive's AI agent
    • Issue and email native Shopify store credit
    • Flow action for native Shopify store credit
    • Send customer payloads to Shopify Flow
Powered by GitBook
On this page
  1. posts

Send customer payloads to Shopify Flow

April 7, 2025

PreviousFlow action for native Shopify store credit

Last updated 2 months ago

The Shopwaive Development team has released a powerful new advanced tool for customer profiles. Customer service teams, brand developers, and web development teams can use Shopwaive's new Send HTTP POST payload tool on any customer profile page from within the Shopwaive app. Just setup an automation in Shopify Flow, and then trigger it from the customer's profile page. This feature is meant to mimic an API request to the Shopify Flow environment. Instead of setting up an HTTPS request on your own servers, you simply define your payload body and click Send payload to send data inputs to your Shopify Flow automation. Then use Shopify Flow's Conditional blocks to design logic and route the automation based on the inputs you sent. All this is made possible using Shopwaive's HTTP POST trigger, which receives the payload you send from the customer's profile page. Simply create any Flow using Shopwaive's HTTP POST trigger and any payload you send will be sent to this Flow for processing.

This feature allows you to send discount or gift codes, make changes to Customer metafields, tag customers or orders, and perform any action from 1,000s of app actions available from the Shopify Flow environment. What's even more? Save your favorite automation payloads to send to your Shopify Flow to create quick actions that customer support teams can use to conveniently and efficiently service customers from their profile page in the Shopwaive app.

Need support for Shopify Plus integration? Reach out to our team at support@shopwaive.com and we'll be glad to support or consider new feature or available options with this release upon request.

Create payloads and payload templates using any of the variables defined by the HTTP POST trigger

In this example, you can send a gift code by email to the customer if you use Shopwaive's Create gift code action after Shopwaive's HTTP POST trigger. In the Create gift code action, you can display the customer's gift code in the email body using. You can use HTML markup to style the gift code, for example use the following to display the code in bold by copy and pasting it into the Email Message body inside the Create gift code action

Congrats! Here is your gift code

<span style='font-weight:'bold'>{giftcardcode}</span>

Search for a customer from the Shopwaive app, and click Send HTTP POST to Shopify Flow. Then, define a JSON payload to send to your Shopify Flow environment. You can choose to use any fields defined by the HTTP POST trigger's schema

Choose from any of Shopwaive's HTTP POST trigger fields and data types listed below to send in the payload. Choose fields that match your required data type needed in the Shopify Flow environment. string, decimal, and boolean data types are supported. For example, you may choose to use the generic enabled key to send a type boolean to Shopify Flow for downstream processing of your logic. While the values of each key can be any you choose, the schema is strictly enforced and use of only the keys in the payload object below will result in successful delivery to your Shopify Flow environment.


{
    "customer_id": "",
    "order_id": "",
    "product_id": "",
    "reference": "offer",
    "email": "info@acme.com",
    "number": 0,
    "date": "2028-10-08T02:39:48.591Z",
    "previous": 0,
    "transaction": 85.23,
    "available": 0,
    "collectionid": "",
    "segment": "",
    "note": "",
    "expiration": "",
    "media": "",
    "lineitemid": "",
    "recipient": "customer@gmail.com",
    "template": "",
    "event": "",
    "enabled": true,
    "points": 0,
    "referral": "",
    "recipientname": "John Doe",
    "variant": "41862282936455",
    "type": "type",
    "limit": "limit",
    "version": "version",
    "style": "style",
    "title": "title",
    "group": "group",
    "gid": "gid"
}

To send email with Shopwaive, you'll first need to authenticate your brand's identity and domain by adding records to your DNS settings.

Learn more
Search for a customer from the Shopwaive app, and click Send HTTP POST to Shopify Flow
Create a Shopify Flow using Shopwaive's HTTP POST trigger
For your customer payload, choose to include any of the variables available from the HTTP POST schema
Display the gift code created by the flow in an email to the customer
Design your own email template to pixel-perfect match your brand with HTML styling, call-to-action links, images, and more