Hi there, I’m trying to create a flow trigger with a custom schema (followed these docs).
The types are going through properly:
However, I never see the trigger actually do what it’s supposed to do, in this example, send an email without any variables.
I also tried using the admin API to trigger it, but I run into another issue:
My shopify.extension.toml file is:
[[extensions]]
name = "Lead form submission"
handle = "lead-form-submission"
type = "flow_trigger"
description = "Create an action that triggers when a lead form is submitted"
schema = "./schema.graphql"
return_type_ref = "Submission"
[settings]
[[settings.fields]]
type = "schema.Submission"
key = "submission"
and my schema.graphql
is:
type Submission {
fields: [Field!]!
}
type Field {
label: String!
value: String!
}
Would love to know what the issue is…