{
 "name": "SatışDM gelen",
 "flow": [
  {
   "id": 1,
   "module": "whatsapp-business-cloud:watchEvents2",
   "version": 1,
   "parameters": {
    "__IMTHOOK__": 4010138
   },
   "mapper": {},
   "metadata": {
    "designer": {
     "x": 0,
     "y": 0
    },
    "setupValidation": {
     "result": {
      "valid": true,
      "fields": []
     },
     "version": 1,
     "configuration": "96d22267fb76230e"
    },
    "restore": {
     "parameters": {
      "__IMTHOOK__": {
       "data": {
        "editable": "false"
       },
       "label": "SatışDM gelen"
      }
     }
    },
    "parameters": [
     {
      "name": "__IMTHOOK__",
      "type": "hook:whatsapp-business-cloud",
      "label": "Webhook",
      "required": true
     }
    ],
    "interface": [
     {
      "name": "id",
      "type": "text",
      "label": "WhatsApp Business Account ID"
     },
     {
      "name": "time",
      "type": "date",
      "label": "Time"
     },
     {
      "name": "field",
      "type": "text",
      "label": "Field"
     },
     {
      "name": "messaging_product",
      "type": "text",
      "label": "Messaging Product"
     },
     {
      "name": "metadata",
      "spec": [
       {
        "name": "display_phone_number",
        "type": "text",
        "label": "Display Phone Number"
       },
       {
        "name": "phone_number_id",
        "type": "text",
        "label": "Phone Number ID"
       }
      ],
      "type": "collection",
      "label": "Metadata"
     },
     {
      "name": "contacts",
      "spec": {
       "spec": [
        {
         "name": "profile",
         "spec": [
          {
           "name": "name",
           "type": "text",
           "label": "Name"
          }
         ],
         "type": "collection",
         "label": "Profile"
        },
        {
         "name": "wa_id",
         "type": "text",
         "label": "WhatsApp ID"
        }
       ],
       "type": "collection"
      },
      "type": "array",
      "label": "Contacts"
     },
     {
      "name": "messages",
      "spec": {
       "spec": [
        {
         "name": "from",
         "type": "text",
         "label": "Sender"
        },
        {
         "name": "id",
         "type": "text",
         "label": "Message ID"
        },
        {
         "name": "timestamp",
         "type": "date",
         "label": "Timestamp"
        },
        {
         "name": "text",
         "spec": [
          {
           "name": "body",
           "type": "text",
           "label": "Body"
          }
         ],
         "type": "collection",
         "label": "Text"
        },
        {
         "name": "type",
         "type": "text",
         "label": "Type"
        },
        {
         "name": "image",
         "spec": [
          {
           "name": "caption",
           "type": "text",
           "label": "Caption"
          },
          {
           "name": "mime_type",
           "type": "text",
           "label": "MIME Type"
          },
          {
           "name": "sha256",
           "type": "text",
           "label": "SHA256"
          },
          {
           "name": "id",
           "type": "text",
           "label": "Media ID"
          }
         ],
         "type": "collection",
         "label": "Image"
        },
        {
         "name": "audio",
         "spec": [
          {
           "name": "mime_type",
           "type": "text",
           "label": "MIME Type"
          },
          {
           "name": "sha256",
           "type": "text",
           "label": "SHA256"
          },
          {
           "name": "id",
           "type": "text",
           "label": "Media ID"
          },
          {
           "name": "voice",
           "type": "boolean",
           "label": "Voice"
          }
         ],
         "type": "collection",
         "label": "Audio"
        },
        {
         "name": "video",
         "spec": [
          {
           "name": "caption",
           "type": "text",
           "label": "Caption"
          },
          {
           "name": "mime_type",
           "type": "text",
           "label": "MIME Type"
          },
          {
           "name": "sha256",
           "type": "text",
           "label": "SHA256"
          },
          {
           "name": "id",
           "type": "text",
           "label": "Media ID"
          }
         ],
         "type": "collection",
         "label": "Video"
        },
        {
         "name": "document",
         "spec": [
          {
           "name": "caption",
           "type": "text",
           "label": "Caption"
          },
          {
           "name": "filename",
           "type": "text",
           "label": "File Name"
          },
          {
           "name": "mime_type",
           "type": "text",
           "label": "MIME Type"
          },
          {
           "name": "sha256",
           "type": "text",
           "label": "SHA256"
          },
          {
           "name": "id",
           "type": "text",
           "label": "Media ID"
          }
         ],
         "type": "collection",
         "label": "Document"
        },
        {
         "name": "contacts",
         "spec": {
          "spec": [
           {
            "name": "name",
            "spec": [
             {
              "name": "formatted_name",
              "type": "text",
              "label": "Formatted Name"
             },
             {
              "name": "first_name",
              "type": "text",
              "label": "First Name"
             },
             {
              "name": "last_name",
              "type": "text",
              "label": "Last Name"
             },
             {
              "name": "middle_name",
              "type": "text",
              "label": "Middle Name"
             },
             {
              "name": "suffix",
              "type": "text",
              "label": "Name Suffix"
             },
             {
              "name": "prefix",
              "type": "text",
              "label": "Name Prefix"
             }
            ],
            "type": "collection",
            "label": "Name"
           },
           {
            "name": "phones",
            "spec": [
             {
              "name": "phone",
              "type": "text",
              "label": "Phone"
             },
             {
              "name": "type",
              "type": "text",
              "label": "Type"
             }
            ],
            "type": "array",
            "label": "Phones"
           },
           {
            "name": "emails",
            "spec": [
             {
              "name": "email",
              "type": "email",
              "label": "Email"
             },
             {
              "name": "type",
              "type": "text",
              "label": "Type"
             }
            ],
            "type": "array",
            "label": "Emails"
           },
           {
            "name": "org",
            "spec": [
             {
              "name": "company",
              "type": "text",
              "label": "Company"
             },
             {
              "name": "department",
              "type": "text",
              "label": "Department"
             },
             {
              "name": "title",
              "type": "text",
              "label": "Title"
             }
            ],
            "type": "collection",
            "label": "Organization"
           },
           {
            "name": "urls",
            "spec": [
             {
              "name": "type",
              "type": "text",
              "label": "Type"
             },
             {
              "name": "url",
              "type": "url",
              "label": "URL"
             }
            ],
            "type": "array",
            "label": "URLs"
           },
           {
            "name": "addresses",
            "spec": [
             {
              "name": "type",
              "type": "text",
              "label": "Type"
             },
             {
              "name": "street",
              "type": "text",
              "label": "Street"
             },
             {
              "name": "city",
              "type": "text",
              "label": "City"
             },
             {
              "name": "zip",
              "type": "text",
              "label": "ZIP"
             },
             {
              "name": "country",
              "type": "text",
              "label": "Country"
             },
             {
              "name": "country_code",
              "type": "text",
              "label": "Country Code"
             }
            ],
            "type": "array",
            "label": "Addresses"
           },
           {
            "name": "birthday",
            "type": "text",
            "label": "Birthday"
           }
          ],
          "type": "collection"
         },
         "type": "array",
         "label": "Contacts"
        },
        {
         "name": "sticker",
         "spec": [
          {
           "name": "mime_type",
           "type": "text",
           "label": "MIME Type"
          },
          {
           "name": "sha256",
           "type": "text",
           "label": "SHA256"
          },
          {
           "name": "id",
           "type": "text",
           "label": "Media ID"
          }
         ],
         "type": "collection",
         "label": "Sticker"
        },
        {
         "name": "location",
         "spec": [
          {
           "name": "latitude",
           "type": "number",
           "label": "Latitude"
          },
          {
           "name": "longitude",
           "type": "number",
           "label": "Longitude"
          },
          {
           "name": "name",
           "type": "text",
           "label": "Name"
          },
          {
           "name": "address",
           "type": "text",
           "label": "Address"
          }
         ],
         "type": "collection",
         "label": "Location"
        },
        {
         "name": "context",
         "spec": [
          {
           "name": "from",
           "type": "text",
           "label": "From"
          },
          {
           "name": "id",
           "type": "text",
           "label": "Context ID"
          }
         ],
         "type": "collection",
         "label": "Context"
        },
        {
         "name": "button",
         "spec": [
          {
           "name": "payload",
           "type": "text",
           "label": "Payload"
          },
          {
           "name": "text",
           "type": "text",
           "label": "Text"
          }
         ],
         "type": "collection",
         "label": "Button"
        },
        {
         "name": "interactive",
         "spec": [
          {
           "name": "type",
           "type": "text",
           "label": "Type"
          },
          {
           "name": "list_reply",
           "spec": [
            {
             "name": "id",
             "type": "number",
             "label": "ID"
            },
            {
             "name": "title",
             "type": "text",
             "label": "Title"
            },
            {
             "name": "description",
             "type": "text",
             "label": "Description"
            }
           ],
           "type": "collection",
           "label": "List Reply"
          },
          {
           "name": "button_reply",
           "spec": [
            {
             "name": "id",
             "type": "number",
             "label": "ID"
            },
            {
             "name": "title",
             "type": "text",
             "label": "Title"
            }
           ],
           "type": "collection",
           "label": "Button Reply"
          }
         ],
         "type": "collection",
         "label": "Interactive"
        }
       ],
       "type": "collection"
      },
      "type": "array",
      "label": "Messages"
     }
    ]
   }
  },
  {
   "id": 2,
   "module": "builtin:BasicFeeder",
   "version": 1,
   "parameters": {},
   "mapper": {
    "array": "{{1.messages}}"
   },
   "metadata": {
    "designer": {
     "x": 300,
     "y": 0
    },
    "setupValidation": {
     "result": {
      "valid": true,
      "fields": []
     },
     "version": 1,
     "configuration": "6802303e6ed2475f"
    },
    "restore": {
     "expect": {
      "array": {
       "mode": "edit"
      }
     }
    },
    "expect": [
     {
      "mode": "edit",
      "name": "array",
      "spec": [],
      "type": "array",
      "label": "Array"
     }
    ]
   }
  },
  {
   "id": 3,
   "module": "http:MakeRequest",
   "version": 4,
   "parameters": {
    "tlsType": "",
    "authenticationType": "noAuth"
   },
   "mapper": {
    "url": "https://satisdm.com/webhook/make/GELEN-ADRESINIZLE-DEGISTIRIN",
    "method": "post",
    "timeout": "40",
    "contentType": "urlEncoded",
    "shareCookies": false,
    "parseResponse": true,
    "allowRedirects": true,
    "stopOnHttpError": true,
    "urlEncodedBodyContent": [
     {
      "name": "telefon",
      "value": "{{2.from}}"
     },
     {
      "name": "metin",
      "value": "{{2.text.body}}"
     },
     {
      "name": "mesajId",
      "value": "{{2.id}}"
     },
     {
      "name": "tur",
      "value": "{{2.type}}"
     }
    ],
    "requestCompressedContent": true
   },
   "metadata": {
    "designer": {
     "x": 600,
     "y": 0
    },
    "setupValidation": {
     "result": {
      "valid": true,
      "fields": []
     },
     "version": 1,
     "configuration": "6b34d957df366861"
    },
    "restore": {
     "expect": {
      "method": {
       "mode": "chose",
       "label": "POST"
      },
      "headers": {
       "mode": "chose"
      },
      "contentType": {
       "label": "application/x-www-form-urlencodedEnter form data as key-value pairs encoded in the URL style."
      },
      "shareCookies": {
       "mode": "chose"
      },
      "parseResponse": {
       "mode": "chose"
      },
      "allowRedirects": {
       "mode": "chose"
      },
      "paginationType": {
       "label": "Empty"
      },
      "queryParameters": {
       "mode": "chose"
      },
      "stopOnHttpError": {
       "mode": "chose"
      },
      "urlEncodedBodyContent": {
       "mode": "chose",
       "items": [
        null,
        null,
        null,
        null
       ]
      },
      "requestCompressedContent": {
       "mode": "chose"
      }
     },
     "parameters": {
      "tlsType": {
       "label": "Empty"
      },
      "authenticationType": {
       "label": "No authenticationUse when no credentials are required for the request."
      }
     }
    },
    "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"
     }
    ],
    "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",
      "spec": {
       "name": "value",
       "spec": [
        {
         "name": "name",
         "type": "text",
         "label": "Name",
         "required": true,
         "validate": {
          "pattern": "^[-!#$%&'*+.^_`|~0-9A-Za-z]+$"
         }
        },
        {
         "name": "value",
         "type": "text",
         "label": "Value"
        }
       ],
       "type": "collection",
       "label": "Header"
      },
      "type": "array",
      "label": "Headers"
     },
     {
      "name": "queryParameters",
      "spec": {
       "name": "value",
       "spec": [
        {
         "name": "name",
         "type": "text",
         "label": "Name",
         "required": true
        },
        {
         "name": "value",
         "type": "text",
         "label": "Value"
        }
       ],
       "type": "collection",
       "label": "Parameter"
      },
      "type": "array",
      "label": "Query parameters"
     },
     {
      "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": {
       "max": 300,
       "min": 1
      }
     },
     {
      "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": "urlEncodedBodyContent",
      "spec": {
       "name": "value",
       "spec": [
        {
         "name": "name",
         "type": "text",
         "label": "Name",
         "required": true
        },
        {
         "name": "value",
         "type": "text",
         "label": "Value"
        }
       ],
       "type": "collection",
       "label": "Field"
      },
      "type": "array",
      "label": "Body content",
      "required": true
     },
     {
      "name": "paginationType",
      "type": "select",
      "label": "Pagination type",
      "validate": {
       "enum": [
        "offsetBased",
        "pageBased",
        "urlBased",
        "tokenBased"
       ]
      }
     }
    ],
    "interface": [
     {
      "name": "data",
      "type": "any",
      "label": "Data"
     },
     {
      "name": "statusCode",
      "type": "number",
      "label": "Status Code"
     },
     {
      "name": "headers",
      "spec": [
       {
        "name": "content-length",
        "type": "text",
        "label": "Content-Length"
       },
       {
        "name": "content-encoding",
        "type": "text",
        "label": "Content-Encoding"
       },
       {
        "name": "content-type",
        "type": "text",
        "label": "Content-Type"
       },
       {
        "name": "server",
        "type": "text",
        "label": "Server"
       },
       {
        "name": "cache-control",
        "type": "text",
        "label": "Cache-Control"
       },
       {
        "name": "set-cookie",
        "spec": {
         "type": "text"
        },
        "type": "array",
        "label": "Set-Cookie"
       }
      ],
      "type": "collection",
      "label": "Headers"
     }
    ]
   }
  }
 ],
 "metadata": {
  "instant": true,
  "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": "eu1.make.com",
  "notes": []
 }
}