Integrate Gmail with Peanutsquare to automate workflows, sync data between apps, and eliminate repetitive tasks with AI-powered automation.
Create CRM Lead in Peanutsquare when New Attachment in Gmail
Update Lead in Peanutsquare when New Attachment in Gmail
List Contacts from Peanutsquare when New Attachment in Gmail
List Salespeople from Peanutsquare when New Attachment in Gmail
List Sales Teams from Peanutsquare when New Attachment in Gmail
Start from a real workflow other teams are already running.
Gmail
When this happens...
New Attachment
New Email Received
New Email Sent
Peanutsquare
Automatically do this!
Create CRM Lead
Update Lead
List Contacts
List Salespeople
List Sales Teams
List Lead Sources
Find Tags
Create Contact
Find Contacts
Update Contact
Archive or Restore Contact
Cancel Sales Order
Create Opportunity
Find Leads or Opportunities
Mark Opportunity as Won
Create Quotation
Find Sales Orders
Add Product Line To Sales Order
Confirm Quotation
Create Product
Find Products
Update Product Prices
Create Customer Invoice
Post an Invoice
Find Unpaid Customer Invoices
Create Tag
Find Contacts by Tags
Add Tags to Customer
Create CRM Lead in Peanutsquare when New Attachment in Gmail
Use this flowUpdate Lead in Peanutsquare when New Attachment in Gmail
Use this flowList Contacts from Peanutsquare when New Attachment in Gmail
Use this flowList Salespeople from Peanutsquare when New Attachment in Gmail
Use this flowList Sales Teams from Peanutsquare when New Attachment in Gmail
Use this flowList Lead Sources from Peanutsquare when New Attachment in Gmail
Use this flowFind Tags in Peanutsquare when New Attachment in Gmail
Use this flowCreate Contact in Peanutsquare when New Attachment in Gmail
Use this flowFind Contacts in Peanutsquare when New Attachment in Gmail
Use this flowUpdate Contact in Peanutsquare when New Attachment in Gmail
Use this flowEverything you can automate between Gmail and Peanutsquare.
When this happensTriggers
A trigger is an event that starts a workflow.
Retrieve recent Gmail messages (optionally filtered by label) that contain attachments, upload those attachments to Viasocket, and return message and attachment details.
Runs when new email arrives
Runs the workflow automatically whenever a new email appears in the Sent mailbox or in a specified label.
Runs the workflow automatically whenever a new lead is created in the account.
Polls Peanutsquare (Odoo) for new contacts created within the last scheduled interval.
Runs the workflow automatically whenever an order is created or whenever an existing order is confirmed.
Action is the task that follows automatically within your Gmail integrations.
send a new email message.
Add or remove labels on a specific email or on emails matching sender, subject, or thread ID.
Reply to an existing email thread — choose recipients (sender/all/specific), send text or HTML, add attachments, and apply labels.
Retrieve all messages in a thread excluding those sent from the specified email address.
Search emails (manual or AI), resolve custom labels by name or ID, and return message details, attachments, and a next-page token.
Retrieve attachments from an email by Message ID and return attachment details (filename, MIME type, size) and accessible URLs.

Follow a simple walkthrough to create, test, and launch your first automation.
Connect your apps
Link the apps you want to automate.
Configure your workflow
Set up triggers, actions, and map your data.
Test & publish
Test your workflow and publish it.
Recognized by leading review platforms and trusted by 10,000+ businesses worldwide.
Just describe the task in plain English. viaSocket AI selects the right apps, builds the workflow, maps the fields, and prepares everything for review before you publish.
Step-by-step video tutorials to help you connect apps, automate workflows, and save time.

Learn how to automate Gmail and Peanutsquare workflows.

Learn how to automate Gmail and Peanutsquare workflows.

Learn how to automate Gmail and Peanutsquare workflows.

Connect Teamwork.com with Slack, Google Sheets, and email using viaSocket to trigger real-time notifications, auto-create tasks from external requests, sync live reports, and automate client updates, deadlines, onboarding, and billing.

Discover viaSocket, an AI-powered workflow automation platform with 2,000+ integrations. Learn what it is, how it works, and how to set up no-code automated workflows.

Five practical automation hacks to cut repetitive tasks and boost productivity using viaSocket, covering lead generation, onboarding, accounting, support, and HR.

Explore workflow automation: its definition, benefits, how it works, real-world examples, and how to automate with viaSocket.
viaSocket Support
We're here to help
Instant answers
AI assistant available 24/7
Expert support
Connect with our specialists
Trusted & secure
Your data is safe with us
No credit card required. Set up your first workflow in minutes.
Gmail is Google's email service that helps users send, receive, organize, search, and manage email messages with powerful spam filtering and integration across Google Workspace.
Learn morePeanut Square is an Odoo-focused ERP and software services company that helps businesses automate operations and scale. Based in Ahmedabad and serving clients worldwide, they provide end-to-end Odoo consulting, implementation, customization, development, migration, and support—alongside web, mobile, and SaaS development. Their solutions cover CRM, sales, inventory, accounting, manufacturing, HR/payroll, and eCommerce, integrating third-party tools for secure, scalable digital transformation.
Learn moreSign up for a free viaSocket account, then authorize both your Gmail and Peanutsquare accounts. From there, pick a trigger in one app and an action in the other. Your first workflow can be live in under five minutes.
Yes. viaSocket uses instant triggers where available, so data moves between Gmail and Peanutsquare as soon as the event happens. Scheduled polling triggers run at a maximum interval of 15 minutes.
Yes. You can map specific fields, apply filters to skip records that do not match your conditions, and transform values before they reach Peanutsquare. No coding required.
Yes. You can set up a workflow where Gmail triggers actions in Peanutsquare, and a separate workflow where Peanutsquare triggers actions in Gmail. Both run independently and in real time.
viaSocket logs every run so you can see exactly what succeeded and what failed. Failed tasks can be retried from the dashboard without re-configuring the workflow.
Yes, there is a free plan that covers basic workflows between Gmail and Peanutsquare. Paid plans unlock higher task limits, faster polling, and advanced features like multi-step workflows and conditional logic.
No. The entire Gmail and Peanutsquare integration is built through a visual, point-and-click interface. Code blocks are available if you want them, but they are never required.