Workflow: GoogleSheets Orbit

Workflow Details

Download Workflow
{
    "name": "Moving metrics from Google Sheets to Orbit",
    "nodes": [
        {
            "name": "Merge",
            "type": "n8n-nodes-base.merge",
            "position": [
                1473,
                426
            ],
            "parameters": {
                "mode": "mergeByKey",
                "propertyName1": "GitHub Username",
                "propertyName2": "attributes.slug"
            },
            "typeVersion": 1
        },
        {
            "name": "Add Members",
            "type": "n8n-nodes-base.orbit",
            "position": [
                1073,
                326
            ],
            "parameters": {
                "operation": "upsert",
                "identityUi": {
                    "identityValue": {
                        "source": "github",
                        "searchBy": "username",
                        "username": "={{$json[\"GitHub\"]}}"
                    }
                },
                "workspaceId": "543",
                "additionalFields": {
                    "name": "={{$json[\"Name\"]}}",
                    "tShirt": "={{$json[\"T-Shirt Size\"]}}",
                    "location": "={{$json[\"Location\"]}}",
                    "tagsToAdd": "={{$json[\"Tags\"]}}"
                }
            },
            "credentials": {
                "orbitApi": "Orbit Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "Get all members",
            "type": "n8n-nodes-base.orbit",
            "position": [
                1273,
                526
            ],
            "parameters": {
                "options": [],
                "operation": "getAll",
                "returnAll": true,
                "workspaceId": "543"
            },
            "credentials": {
                "orbitApi": "Orbit Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "Get Members",
            "type": "n8n-nodes-base.googleSheets",
            "position": [
                873,
                326
            ],
            "parameters": {
                "range": "Members!A:F",
                "options": [],
                "sheetId": "1GiR5glinWBUJ-pw3w8LpcuwyOXst2z5nnFSak8DQrMQ",
                "authentication": "oAuth2"
            },
            "credentials": {
                "googleSheetsOAuth2Api": "Google Sheets Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "Get Activities",
            "type": "n8n-nodes-base.googleSheets",
            "position": [
                1273,
                326
            ],
            "parameters": {
                "range": "Activities!A:D",
                "options": {
                    "returnAllMatches": true
                },
                "sheetId": "={{$node[\"Get Members\"].parameter[\"sheetId\"]}}",
                "operation": "lookup",
                "lookupValue": "={{$node[\"Get Members\"].json[\"GitHub\"]}}",
                "lookupColumn": "GitHub Username",
                "authentication": "oAuth2"
            },
            "credentials": {
                "googleSheetsOAuth2Api": "Google Sheets Credentials"
            },
            "typeVersion": 1
        },
        {
            "name": "Add Activities",
            "type": "n8n-nodes-base.orbit",
            "position": [
                1673,
                426
            ],
            "parameters": {
                "title": "={{$json[\"Title\"]}}",
                "memberId": "={{$json[\"id\"]}}",
                "resource": "activity",
                "workspaceId": "543",
                "additionalFields": {
                    "link": "={{$json[\"Activity Link\"]}}",
                    "description": "={{$node[\"Merge\"].json[\"Description\"]}}"
                }
            },
            "credentials": {
                "orbitApi": "Orbit Credentials"
            },
            "typeVersion": 1
        }
    ],
    "active": false,
    "settings": [],
    "connections": {
        "Merge": {
            "main": [
                [
                    {
                        "node": "Add Activities",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Add Members": {
            "main": [
                [
                    {
                        "node": "Get Activities",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Get Members": {
            "main": [
                [
                    {
                        "node": "Add Members",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Get Activities": {
            "main": [
                [
                    {
                        "node": "Merge",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        },
        "Get all members": {
            "main": [
                [
                    {
                        "node": "Merge",
                        "type": "main",
                        "index": 1
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

n8n-農產品
View
Splitout Code Monitor Webhook
View
OpenSea NFT Agent Tool
View
Analyze the sentiment of feedback and send a message on Mattermost
View
Add task to tasklist
View
Postgrestool Stickynote Send Triggered
View
HTTP Manual Create Webhook
View
Fetch Squarespace Blog & Event Collections to Google Sheets
View
GoogleSheets Webhook Automate Webhook
View
Strapi Webhook Automate Webhook
View