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

Hi,

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}}&ordernumber={{order.name}}&reason=Order%20Returned

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

@JungOh

You should be able to use the datefilter 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!