{
  "name": "AI email reply with the sender's Signatoro signature",
  "flow": [
    {
      "id": 1,
      "module": "google-forms:watchResponses",
      "version": 2,
      "parameters": {
        "__IMTCONN__": null,
        "formId": "",
        "limit": 2
      },
      "mapper": {},
      "metadata": {
        "designer": {
          "x": 0,
          "y": 0
        },
        "setupValidation": {
          "version": 1,
          "configuration": "5eb0e141c6c97f99",
          "result": {
            "valid": true,
            "fields": []
          }
        },
        "restore": {
          "parameters": {
            "__IMTCONN__": {
              "label": "Google connection",
              "data": {
                "scoped": "true",
                "connection": "google"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "__IMTCONN__",
            "type": "account:google",
            "label": "Connection",
            "required": true
          },
          {
            "name": "formId",
            "type": "text",
            "label": "Form ID",
            "required": true
          },
          {
            "name": "limit",
            "type": "uinteger",
            "label": "Limit",
            "required": true
          }
        ]
      }
    },
    {
      "id": 3,
      "module": "openai-gpt-3:askAnything",
      "version": 1,
      "parameters": {},
      "mapper": {
        "model": "gpt-5-nano",
        "textPrompt": "You are the front desk at Brookside Dental, a friendly family dental practice. Write a short email reply to a new patient who just asked for a first visit. Greet them by first name and thank them. Respond to their reason for visit in one or two warm sentences. Say we will call within one business day to book a time. No medical advice, no prices, no promises about treatment. End with a short closing line such as \"Kind regards,\" and no name or signature: the signature is added after the email. Write only the email body, as simple HTML with each paragraph in <p> tags. The patient's name and reason for visit: {{1.answers.`0b695c0f`.textAnswers.answers[].value}} Name: {{1.answers.`73761a13`.textAnswers.answers[].value}}"
      },
      "metadata": {
        "designer": {
          "x": 300,
          "y": 0
        },
        "setupValidation": {
          "version": 1,
          "configuration": "749b2d269360583e",
          "result": {
            "valid": true,
            "fields": []
          }
        },
        "restore": {
          "expect": {
            "model": {
              "label": "GPT-5 nanoThe most cost-effective option for casual conversation and straightforward, simple fact-retrieval"
            }
          }
        },
        "expect": [
          {
            "name": "model",
            "type": "select",
            "label": "Model",
            "required": true,
            "validate": {
              "enum": [
                "gpt-5-nano",
                "gpt-6.1-sol",
                "gpt-6-sol",
                "gpt-6-luna",
                "gpt-6-astra",
                "gpt-5.6-sol",
                "gpt-5.6-terra",
                "gpt-5.6-luna",
                "gpt-5.5",
                "gpt-5.4-nano",
                "gpt-5.4-mini",
                "gpt-5.4",
                "gpt-5.2",
                "gpt-5.1",
                "gpt-5",
                "gpt-5-mini"
              ]
            }
          },
          {
            "name": "textPrompt",
            "type": "text",
            "label": "Text prompt",
            "required": true
          }
        ]
      }
    },
    {
      "id": 4,
      "module": "http:MakeRequest",
      "version": 4,
      "parameters": {
        "authenticationType": "apiKeyConnection",
        "tlsType": "",
        "apiKeyAccount": null
      },
      "mapper": {
        "url": "https://signatoro.com/api/v1/signature",
        "method": "get",
        "parseResponse": true,
        "stopOnHttpError": true,
        "timeout": "40",
        "allowRedirects": true,
        "shareCookies": false,
        "requestCompressedContent": true
      },
      "metadata": {
        "designer": {
          "x": 600,
          "y": 0
        },
        "setupValidation": {
          "version": 1,
          "configuration": "9f2822740b7c8c46",
          "result": {
            "valid": true,
            "fields": []
          }
        },
        "restore": {
          "parameters": {
            "authenticationType": {
              "label": "API keyUse a saved API key connection with service URL restrictions."
            },
            "tlsType": {
              "label": "Empty"
            },
            "apiKeyAccount": {
              "label": "Signatoro API key",
              "data": {
                "scoped": "true",
                "connection": "http-v4-apikey"
              }
            }
          },
          "expect": {
            "method": {
              "mode": "chose",
              "label": "GET"
            },
            "headers": {
              "mode": "chose"
            },
            "queryParameters": {
              "mode": "chose"
            },
            "contentType": {
              "label": "Empty"
            },
            "parseResponse": {
              "mode": "chose"
            },
            "stopOnHttpError": {
              "mode": "chose"
            },
            "allowRedirects": {
              "mode": "chose"
            },
            "shareCookies": {
              "mode": "chose"
            },
            "requestCompressedContent": {
              "mode": "chose"
            },
            "paginationType": {
              "label": "Empty"
            }
          }
        },
        "parameters": [
          {
            "name": "authenticationType",
            "type": "select",
            "label": "Authentication type",
            "required": true,
            "validate": {
              "enum": [
                "noAuth",
                "apiKeyConnection",
                "basicAuthConnection",
                "oAuth",
                "apiKey",
                "basicAuth"
              ]
            }
          },
          {
            "name": "tlsType",
            "type": "select",
            "label": "Transport layer security (TLS)",
            "validate": {
              "enum": [
                "mTls",
                "tls"
              ]
            }
          },
          {
            "name": "proxyKeychain",
            "type": "keychain:proxy",
            "label": "Proxy"
          },
          {
            "name": "apiKeyAccount",
            "type": "account:http-v4-apikey",
            "label": "Connection",
            "required": true
          }
        ],
        "expect": [
          {
            "name": "url",
            "type": "url",
            "label": "URL",
            "required": true
          },
          {
            "name": "method",
            "type": "select",
            "label": "Method",
            "required": true,
            "validate": {
              "enum": [
                "get",
                "head",
                "post",
                "put",
                "patch",
                "delete",
                "options"
              ]
            }
          },
          {
            "name": "headers",
            "type": "array",
            "label": "Headers",
            "spec": {
              "name": "value",
              "label": "Header",
              "type": "collection",
              "spec": [
                {
                  "name": "name",
                  "label": "Name",
                  "type": "text",
                  "required": true,
                  "validate": {
                    "pattern": "^[-!#$%&'*+.^_`|~0-9A-Za-z]+$"
                  }
                },
                {
                  "name": "value",
                  "label": "Value",
                  "type": "text"
                }
              ]
            }
          },
          {
            "name": "queryParameters",
            "type": "array",
            "label": "Query parameters",
            "spec": {
              "name": "value",
              "label": "Parameter",
              "type": "collection",
              "spec": [
                {
                  "name": "name",
                  "label": "Name",
                  "type": "text",
                  "required": true
                },
                {
                  "name": "value",
                  "label": "Value",
                  "type": "text"
                }
              ]
            }
          },
          {
            "name": "contentType",
            "type": "select",
            "label": "Body content type",
            "validate": {
              "enum": [
                "json",
                "multipart",
                "urlEncoded",
                "custom"
              ]
            }
          },
          {
            "name": "parseResponse",
            "type": "boolean",
            "label": "Parse response",
            "required": true
          },
          {
            "name": "stopOnHttpError",
            "type": "boolean",
            "label": "Return error if HTTP request fails",
            "required": true
          },
          {
            "name": "timeout",
            "type": "uinteger",
            "label": "Timeout",
            "validate": {
              "min": 1,
              "max": 300
            }
          },
          {
            "name": "allowRedirects",
            "type": "boolean",
            "label": "Allow redirects",
            "required": true
          },
          {
            "name": "shareCookies",
            "type": "boolean",
            "label": "Share cookies with other HTTP modules",
            "required": true
          },
          {
            "name": "requestCompressedContent",
            "type": "boolean",
            "label": "Request compressed content",
            "required": true
          },
          {
            "name": "paginationType",
            "type": "select",
            "label": "Pagination type",
            "validate": {
              "enum": [
                "offsetBased",
                "pageBased",
                "urlBased",
                "tokenBased"
              ]
            }
          }
        ],
        "interface": [
          {
            "name": "data",
            "label": "Data",
            "type": "any"
          },
          {
            "name": "statusCode",
            "label": "Status Code",
            "type": "number"
          },
          {
            "name": "headers",
            "label": "Headers",
            "type": "collection",
            "spec": [
              {
                "name": "content-length",
                "label": "Content-Length",
                "type": "text"
              },
              {
                "name": "content-encoding",
                "label": "Content-Encoding",
                "type": "text"
              },
              {
                "name": "content-type",
                "label": "Content-Type",
                "type": "text"
              },
              {
                "name": "server",
                "label": "Server",
                "type": "text"
              },
              {
                "name": "cache-control",
                "label": "Cache-Control",
                "type": "text"
              },
              {
                "name": "set-cookie",
                "label": "Set-Cookie",
                "type": "array",
                "spec": {
                  "type": "text"
                }
              }
            ]
          }
        ]
      }
    },
    {
      "id": 5,
      "module": "google-email:sendAnEmail",
      "version": 4,
      "parameters": {
        "__IMTCONN__": null
      },
      "mapper": {
        "to": [
          "{{1.answers.`674e659a`.textAnswers.answers[].value}}"
        ],
        "subject": "Your visit request at Brookside Dental",
        "bodyType": "rawHtml",
        "content": "{{3.result}}<br>{{4.data.html}}"
      },
      "metadata": {
        "designer": {
          "x": 900,
          "y": 0
        },
        "setupValidation": {
          "version": 1,
          "configuration": "99b2c9849ef46307",
          "result": {
            "valid": true,
            "fields": []
          }
        },
        "restore": {
          "parameters": {
            "__IMTCONN__": {
              "label": "Gmail connection",
              "data": {
                "scoped": "true",
                "connection": "google-email"
              }
            }
          },
          "expect": {
            "to": {
              "mode": "chose",
              "items": [
                null
              ]
            },
            "bodyType": {
              "label": "Raw HTML"
            },
            "attachments": {
              "mode": "chose"
            },
            "from": {
              "mode": "chose",
              "label": "Empty"
            },
            "cc": {
              "mode": "chose"
            },
            "bcc": {
              "mode": "chose"
            },
            "emailHeaders": {
              "mode": "chose"
            }
          }
        },
        "parameters": [
          {
            "name": "__IMTCONN__",
            "type": "account:google-email",
            "label": "Connection",
            "required": true
          }
        ],
        "expect": [
          {
            "name": "to",
            "type": "array",
            "label": "To",
            "required": true,
            "spec": {
              "type": "email",
              "label": "Recipient email address",
              "required": true,
              "validate": true,
              "name": "value"
            }
          },
          {
            "name": "subject",
            "type": "text",
            "label": "Subject"
          },
          {
            "name": "bodyType",
            "type": "select",
            "label": "Body type",
            "required": true,
            "validate": {
              "enum": [
                "rawHtml",
                "collection"
              ]
            }
          },
          {
            "name": "attachments",
            "type": "array",
            "label": "Attachments",
            "spec": {
              "spec": [
                {
                  "name": "filename",
                  "type": "filename",
                  "label": "File name",
                  "required": true,
                  "semantic": "file:name"
                },
                {
                  "name": "data",
                  "type": "buffer",
                  "label": "Data",
                  "required": true,
                  "semantic": "file:data"
                }
              ],
              "type": "collection",
              "label": "Attachment",
              "name": "value"
            }
          },
          {
            "name": "from",
            "type": "select",
            "label": "From"
          },
          {
            "name": "cc",
            "type": "array",
            "label": "CC recipients",
            "spec": {
              "type": "email",
              "label": "Recipient email address",
              "name": "value"
            }
          },
          {
            "name": "bcc",
            "type": "array",
            "label": "BCC recipients",
            "spec": {
              "type": "email",
              "label": "Recipient email address",
              "name": "value"
            }
          },
          {
            "name": "emailHeaders",
            "type": "array",
            "label": "Additional email headers",
            "spec": {
              "spec": [
                {
                  "name": "key",
                  "type": "text",
                  "label": "Key",
                  "required": true
                },
                {
                  "name": "value",
                  "type": "text",
                  "label": "Value"
                }
              ],
              "type": "collection",
              "label": "Email header",
              "name": "value"
            }
          },
          {
            "name": "content",
            "type": "text",
            "label": "Content"
          }
        ]
      }
    }
  ],
  "metadata": {
    "instant": false,
    "version": 1,
    "scenario": {
      "roundtrips": 1,
      "maxErrors": 3,
      "autoCommit": true,
      "autoCommitTriggerLast": true,
      "sequential": false,
      "slots": null,
      "confidential": false,
      "dataloss": false,
      "dlq": false,
      "freshVariables": false
    },
    "designer": {
      "orphans": []
    },
    "zone": "us2.make.com",
    "notes": []
  }
}