How can I format refund dates and use SHA-256 Hash with Shopify Flow?

1 0 0



I'm trying to send HTTP GET request when refund is created with Flow. 

So I created a trigger "Refund Created" with action "Send HTTP request."

This is what I have in URL part: https://domain/?merchantId=xxxx&token=xxxxx&version=x&action=void&date={{refund.createdAt}}&ordernum...

Is there a way to change the date({{refund.createdAt}}) into format "Mon, 14 Sep 2020 19:20:51 GMT"?

Also for Headers, does Flow supports SHA-256 Hash in 64 character Hex format?

I need to pass the value with SHA-256 form.

If this is not possible with Shopify Flow, is there any way to trigger this(HTTP request) when the refund is created?


Thank you


Reply 1 (1)

Shopify Partner
88 15 20


You should be able to use the "date"  filter with that object to output the date in a different format.

As for the "Headers" I have not found any documentation that says anything about them for what you are asking so my recommendation is to test it and find out.

Hope that helps!

- Rob Dukarski
Helping to make commerce better for everyone!