Untitled

 avatar
unknown
plain_text
a month ago
6.2 kB
4
Indexable
{
      "name": "Client Onboarding Workflow",
        "nodes": [
                {
                          "parameters": {
                                    "path": "client-onboarding",
                                            "httpMethod": "POST"
                          },
                                "name": "Webhook",
                                      "type": "n8n-nodes-base.webhook",
                                            "typeVersion": 1,
                                                  "position": [200, 300]
                },
                    {
                              "parameters": {
                                        "conditions": {
                                                      "string": [
                                                                    {
                                                                                      "value1": "={{$json.email}}",
                                                                                                    "operation": "notEmpty"
                                                                    }
                                                      ]
                                        }
                              },
                                    "name": "Validate Data",
                                          "type": "n8n-nodes-base.if",
                                                "typeVersion": 1,
                                                      "position": [450, 300]
                    },
                        {
                                  "parameters": {
                                            "operation": "append",
                                                    "sheetId": "YOUR_SHEET_ID",
                                                            "range": "Clients!A:D"
                                  },
                                        "name": "Save to Google Sheets",
                                              "type": "n8n-nodes-base.googleSheets",
                                                    "typeVersion": 4,
                                                          "position": [700, 200]
                        },
                            {
                                      "parameters": {
                                                "sendTo": "={{$json.email}}",
                                                        "subject": "Welcome Onboard",
                                                                "text": "Thank you for joining. Our team will contact you soon."
                                      },
                                            "name": "Send Email",
                                                  "type": "n8n-nodes-base.gmail",
                                                        "typeVersion": 2,
                                                              "position": [700, 400]
                            },
                                {
                                          "parameters": {
                                                    "resource": "folder",
                                                            "name": "={{$json.client_name}}"
                                          },
                                                "name": "Create Client Folder",
                                                      "type": "n8n-nodes-base.googleDrive",
                                                            "typeVersion": 3,
                                                                  "position": [950, 200]
                                },
                                    {
                                              "parameters": {
                                                        "channel": "operations",
                                                                "text": "New client onboarded: {{$json.client_name}}"
                                              },
                                                    "name": "Notify Team",
                                                          "type": "n8n-nodes-base.slack",
                                                                "typeVersion": 1,
                                                                      "position": [950, 400]
                                    }
        ],
          "connections": {
                "Webhook": {
                          "main": [[{ "node": "Validate Data", "type": "main", "index": 0 }]]
                },
                    "Validate Data": {
                              "main": [
                                        [{ "node": "Save to Google Sheets", "type": "main", "index": 0 }],
                                                []
                              ]
                    },
                        "Save to Google Sheets": {
                                  "main": [[{ "node": "Create Client Folder", "type": "main", "index": 0 }]]
                        },
                            "Create Client Folder": {
                                      "main": [[{ "node": "Notify Team", "type": "main", "index": 0 }]]
                            },
                                "Notify Team": {
                                          "main": [[{ "node": "Send Email", "type": "main", "index": 0 }]]
                                }
          }
}
                                }
                            }
                        }
                              ]
                    }
                }
          }
                                              }
                                    }
                                          }
                                }
                                      }
                            }
                                  }
                        }
                                                                    }
                                                      ]
                                        }
                              }
                    }
                          }
                }
        ]
}
Editor is loading...
Leave a Comment