INPUT_OBJECT

EmailNotificationInputType

# GraphQL Schema definition

1input EmailNotificationInputType {
5
2# json of the form { "file_name.jpg": { "url": "http://example.com/file.jpg" } }
3# which defines email attachments. Liquid will be processed.
4attachments: String
9
6# liquid code to evaluate to valid, comma separated blind carbon copy list, for
7# example "john@example.com, jane@example.com"
8bcc: String
13
10# liquid code to evaluate to valid, comma separated carbon copy list, for example
11# "john@example.com, jane@example.com"
12cc: String
18
14# liquid code to evaluate to valid form html. If email is triggered via form
15# configuration, You have access to "form" variable, with data specified in
16# configuration.
17content: String
24
19# liquid code which should evaluate to integer. Delays invoking the job by
20# specified number of minutes. Useful to invoke code at certain point in time, for
21# example 1 hour before something etc. To calculate proper number you can use
22# time_diff filter.
23delay_by: String
27
25# ids of forms which should trigger the email
26form_configuration_ids: [ID]
31
28# email address from which you would like to send the email, for example
29# notifications@mydomain.com
30from: String
34
32# name of the liquid layout to which the content should be injected
33layout: String
37
35# deprecated, use layout
36layout_path: String
39
38metadata: HashObject
43
40# deprecated - derived from physical_file_path; name of the email, which is used
41# in form or mutation to trigger it
42name: String
48
44# defines where the file definition will be available after pull; should start
45# with the module name follow by private/public scope, for example
46# manual/public/emails/my_email_notification
47physical_file_path: String!
51
49# email address to which users should reply, for example support@mydomain.com
50reply_to: String
54
52# liquid code to evaluate to text
53subject: String!
58
55# liquid code to evaluate to valid, comma separated recipient list, for example
56# "john@example.com, jane@example.com"
57to: String
61
59# liquid code which should evaluate to true if the email should be sent
60trigger_condition: String
62}

# Required by