"name":"SparkLayer - Send email for new quote",
"email_recipient__email_required":""
"shopify/draft_orders/create"
"subscriptions_template":"shopify/draft_orders/create",
"script":"{% assign sparkPaymentType = draft_order.note_attributes[\"sparkPaymentType\"] %}\n{% if sparkPaymentType == 'quote' %}\n {% action \"email\" %}\n {\n \"to\": {{ options.email_recipient__email_required | json }},\n \"subject\": \"New quote {{ draft_order.name }}\",\n \"body\": \"View the quote here: https://{{ shop.domain }}/admin/draft_orders/{{ draft_order.id }}\",\n \"reply_to\": {{ shop.customer_email | json }},\n \"from_display_name\": {{ shop.name | json }}\n }\n {% endaction %}\n{% endif %}",
"docs":"For newly-created draft orders which are quotes from Sparklayer, it sends an email.",
"halt_action_run_sequence_on_error":false,
"liquid_profiling":false,
"online_store_javascript":null,
"order_status_javascript":null,
"perform_action_runs_in_sequence":false,
"shopify_api_version":"2021-10"