Make Your First Flow
Now that you understand the basics of viaSocket, let's create your first Flow.
In this example, you'll build a simple automation:
When a new row is added to Google Sheets, send an email using Gmail.
The Flow looks like this:
Google Sheets
New Row Added
↓
Gmail
Send Email
You'll learn how to:
Create a Flow
Add a Trigger
Add an Action
Connect your apps
Map data between steps
Test the Flow
Publish the Flow
Monitor its executions
Before you start
Make sure you have:
A viaSocket account and Workspace
A Google Sheet with some data
A Google account that can access the Sheet
A Gmail account that can send emails
Step 1: Create a new Flow
Log in to viaSocket and open your Workspace.
Click Build a Flow Manually or Create New Flow, depending on the current UI.
A new Flow canvas will open.

Step 2: Add a Trigger
A Trigger is the event that starts your Flow.
For this example, we'll use Google Sheets.
Click Add a trigger.
Search for Google Sheets.
Select the trigger for a new spreadsheet row.
Connect your Google account if you haven't connected it already.
Select the Spreadsheet you want to monitor.
Select the required Sheet.
Configure any additional fields shown for the trigger.
Click Save.

Tip: The available Trigger options depend on the app and its supported events.
Step 3: Add the Gmail Action
Now define what should happen when the Trigger occurs.
Click Add Step.
Search for Gmail.
Select Send Email.
Select your Gmail connection.
Fill in the required email fields.
The Send Email action includes fields such as:
To
Subject
Message Body
Required fields are marked with *.

Step 4: Map data from Google Sheets
You can use data from the Google Sheets Trigger in your Gmail Action.
For example, if your Sheet contains:
Name | |
Rahul |
You can map the Email column to the Gmail To field.
Example
To:
Google Sheets → Email
Message Body:
Hi {{Name}},
Your information has been received successfully.
Thank you.To insert data from a previous step:
Click the + field-mapping button next to the field.
Select the required value from the Google Sheets step.
Repeat for other fields if needed.
You can use data from any previous step in the Flow.

Step 5: Test your Flow
Before publishing your Flow, test it to make sure the configuration works correctly.
Click Test.
viaSocket runs the configured step using the available test/sample data.
Check the result.
For this example, verify that:
The email was sent to the expected recipient.
The subject is correct.
The Google Sheets data was mapped correctly.
The message contains the expected values.
Important: Testing performs the actual action. For example, testing Gmail → Send Email can send a real email. Use a test recipient when appropriate.
Step 6: Publish your Flow
Once everything works as expected:
Review your Trigger and Action.
Click Go Live.
Your Flow is now active.
After it is live:
New row added to Google Sheets
↓
Flow starts
↓
Gmail Action
↓
Email sentThe Flow will run automatically whenever its configured Trigger occurs.

Monitor your Flow
After publishing, you can monitor Flow executions from the Log/History section of the Flow.
Use it to check:
Whether a Flow run succeeded or failed
What data was processed
Which step encountered an error
Execution details when troubleshooting
If your Flow isn't working as expected, check the Log/History first.
Complete Example
Goal
Send an email whenever a new customer is added to Google Sheets.
Flow
Google Sheets
New Row Added
↓
Gmail
Send EmailExample Sheet
Name | |
Rahul |
Gmail configuration
To:
Google Sheets → Email
Subject:
New Customer Added
Message Body:
Hi {{Name}},
A new customer has been added to the Google Sheet.Result
When a new row is detected, viaSocket uses the row's data and sends the email automatically.
What's next?
Now that you've created your first Flow, you can explore:
More Triggers and Actions
Data Mapping
Built-in Tools
Conditions and Multiple Paths
AI Agents
Build with AI
Other app integrations
Need help?
If something isn't working, reach out to [email protected].
Include your Flow name and a screenshot of the History/Log for faster resolution.