🀝 Compare proposals and analyze gaps for Salesforce CRM with Groq AI

⚑ 31 views · 🀝 CRM & Sales Operations

Description

AI Proposal Comparison & Gap Analysis Workflow for Salesforce CRM

This workflow automatically analyzes newly uploaded proposals by comparing them with past winning proposals using AI. It extracts proposal content, identifies the client, fetches reference data from Google Sheets and generates actionable insights. These insights are saved in Salesforce and shared on Slack for team visibility.

Quick Implementation Steps

What It Does

This workflow automates the process of analyzing business proposals by leveraging AI and historical data. When a new proposal file is uploaded to a specific Google Drive folder, the workflow downloads and extracts its content. It then identifies the client name using a simple pattern from the text. At the same time, the workflow fetches past winning proposals from a Google Sheets database filtered by status. Both the current and past proposals are combined and sent to an AI model for comparison. The AI generates concise insights highlighting missing elements, weak positioning, pricing gaps and improvement suggestions. Finally, the insights are formatted and stored in Salesforce as an Opportunity record. A notification is sent to Slack, ensuring the team is informed and can act quickly to improve proposal quality.

Who It’s For

Requirements

How It Works & Set Up

1. Setup Google Drive Trigger

2. Download and Extract Proposal

3. Extract Client Information

4. Fetch Winning Proposals

5. Combine Data

6. AI Analysis

7. Format Output

8. Save to Salesforce

9. Prepare Final Output

10. Add Delay (Optional Control)

11. Send Slack Notification

How To Customize Nodes

Add-ons

Use Case Examples

Troubleshooting Guide

IssuePossible CauseSolution
No trigger on file uploadIncorrect folder selectedVerify Google Drive folder ID
Client name not extractedProposal format mismatchUpdate regex in Code node
No data from Google SheetsFilter mismatch (status = Won)Check column name and values
AI output emptyPrompt or input missingVerify merged data structure
Salesforce errorInvalid credentials or fieldCheck API credentials and field mapping
Slack message not sentWrong channel or auth issueReconnect Slack credentials
Workflow stops before SlackWait node misconfiguredEnsure correct connection after Wait node

Need Help?

If you need assistance setting up this workflow, customizing nodes or adding advanced features, we’re here to help. Whether it’s integrating additional tools, improving AI analysis or building custom automation workflows tailored to your business needs, feel free to reach out to our n8n developers at WeblineIndia. Get expert help to scale your automation and build powerful AI-driven workflows efficiently.

πŸ”— Nodes Used

Google Sheets, Slack, Google Drive, Salesforce, Google Drive Trigger, AI Agent

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup