Shata Solutions
← Back to marketplace
Sales Automation

AI Lead Scoring Engine

AI Lead Scoring Engine — orchestrates HubSpot, Salesforce, Gmail, Slack to automate this workflow with field mapping, notifications, and audit logging.

Automation overview

What this automation does

This automation starts when hubSpot and Salesforce event matching AI Lead Scoring Engine business rules. It salesforce validates, gmail validates, slack validates, and openai validates, then tune thresholds and field maps in the install wizard. AI handles generation and decision logic in the middle of the flow.

Trigger
HubSpot and Salesforce event matching AI Lead Scoring Engine business rules
Main actions
Salesforce validates → Gmail validates …
Final outcome
Tune thresholds and field maps in the install wizard.
Execution time
1–3 minutes
Apps used
5 integrations
AI-powered
Yes
Difficulty
Intermediate
AIIntermediate
Workflow diagram

End-to-end scenario flow

Read-only visualization of how data moves from trigger to final result.

Trigger
HubSpot
Event detected
Step 1
Salesforce
Validates
Step 2
Gmail
Validates
Step 3
Slack
Validates
AI
OpenAI
Validates
Result
OpenAI
Workflow complete
Step-by-step

How each step runs

  1. 1
    HubSpotTrigger
    Event detected

    HubSpot and Salesforce event matching AI Lead Scoring Engine business rules

  2. 2
    Salesforce
    Validates

    When triggered (HubSpot and Salesforce event matching AI Lead Scoring Engine business rules), this workflow validates the payload, applies deduplication, syncs

  3. 3
    Gmail
    Validates

    When triggered (HubSpot and Salesforce event matching AI Lead Scoring Engine business rules), this workflow validates the payload, applies deduplication, syncs

  4. 4
    Slack
    Validates

    When triggered (HubSpot and Salesforce event matching AI Lead Scoring Engine business rules), this workflow validates the payload, applies deduplication, syncs

  5. 5
    OpenAI
    Validates

    When triggered (HubSpot and Salesforce event matching AI Lead Scoring Engine business rules), this workflow validates the payload, applies deduplication, syncs

  6. 6
    OpenAI
    Workflow complete

    Tune thresholds and field maps in the install wizard.

Apps used

Connected applications

HubSpot

Validates

Salesforce

Validates

Gmail

Validates

Slack

Validates

OpenAI

Validates

Summary

Automation summary

Trigger
HubSpot and Salesforce event matching AI Lead Scoring Engine business rules
Inputs
HubSpot and Salesforce event matching AI Lead Scoring Engine business rules, Business Name, Notification Email, Timezone
Outputs
Tune thresholds and field maps in the install wizard., Slack validates, OpenAI validates
Business goal
Automate ai lead scoring engine end-to-end with accurate app routing.
Execution frequency
Real-time on event
Estimated runtime
1–3 minutes
Error handling
Failed steps retry up to 3 times with exponential backoff; persistent failures notify your configured channel and log to the run history.
Dependencies
HubSpot, Salesforce, Gmail, OpenAI, AI provider API
Benefits

Why use this automation?

Save ~10 hours/week

Remove repetitive steps from AI Lead Scoring Engine so your team focuses on high-value work.

Reduce manual work

Connected apps sync data automatically instead of copy-paste between dashboards.

Prevent human errors

Standardized logic runs the same way every time, with retries on failure.

Requirements

What you need to get started

Required apps

  • HubSpot
  • Salesforce
  • Gmail
  • OpenAI

Required accounts

  • Active HubSpot workspace with API access
  • Active Salesforce workspace with API access
  • Active Gmail workspace with API access
  • Active OpenAI workspace with API access
  • Shata Automation workspace (free tier supported)

Required API keys

  • OpenAI or compatible AI provider API key
  • OAuth tokens for each connected integration

Permissions

  • Read access on trigger sources (forms, sheets, webhooks, or CRM objects)
  • Write access on destination apps (email, chat, CRM, or storage)
  • Permission to send prompts to your AI provider

Estimated setup time

  • 20 min including app authorization and test run
  • Difficulty: Intermediate

Optional apps

  • Slack (optional)
  • OpenAI (optional)

Automation runtime

Activate this template

PartialSome steps run in preview until their integrations go live.

Connect required apps via OAuth or API keys. Credentials are encrypted server-side. Dev test runs mock external actions when connections are missing.

Draft
0%
Activation readiness

Est. setup time: ~14 min

Required connections

  • HubSpot(required)
    PreviewHubSpot: workflow actions run in preview
    Missing
  • salesforce(required)
    Previewsalesforce: workflow actions run in preview
    Missing
  • Gmail(required)
    Missing
  • Slack(required)
    Missing
  • Missing connection: HubSpot
  • Missing connection: salesforce
  • Missing connection: Gmail
  • Missing connection: Slack
Manage all connections →View all installations →

Workflow summary

Trigger
HubSpot and Salesforce event matching AI Lead Scoring Engine business rules
Steps
6 nodes
Required apps
4
Optional apps
1

Trigger

Manual trigger

Run workflows on demand via Test run or Live test. Activate to enable scheduled/webhook triggers on other templates.

Run history

No runs yet. Install the template and run a test, or activate to receive webhook/schedule runs.

AIFreeIntermediatePartial20 min setup4.59.6k installs · 461 reviews
Customize for My Business
Analytics

Template performance

14.5k
Views
9.6k
Installs
448
Favorites
4.5
Avg rating
65.7%
Conversion
20 min
Setup time
96%
Success rate
59
Trending score
Most used integrations
HubSpotSalesforceGmail

When triggered (HubSpot and Salesforce event matching AI Lead Scoring Engine business rules), this workflow validates the payload, applies deduplication, syncs data across HubSpot, Salesforce, Gmail, Slack, and notifies stakeholders in Slack or email. AI Lead Scoring Engine includes configurable filters, retry on transient API errors, and optional GPT-4o steps for classification or summarization when the use case involves intelligent content handling. Tune thresholds and field maps in the install wizard.

Some steps run in preview until their integrations go live.

Required apps
HubSpotPreviewSalesforcePreviewGmailLiveSlackLive
Optional apps
OpenAILive
All integrations
HubSpotSalesforceGmailSlackOpenAI
Workflow preview

How AI Lead Scoring Engine runs

1
Trigger
Configure trigger
2
Process
AI decision layer
3
Action
hubspot
4
Notify
Alert & log
HubspotSalesforceGmailSlackOpenai
Setup steps

Get started in 5 steps

  1. 1
    Connect required apps

    Authorize HubSpot, Salesforce, Gmail, Slack with least-privilege OAuth scopes for AI Lead Scoring Engine.

  2. 2
    Configure trigger

    Set trigger: HubSpot and Salesforce event matching AI Lead Scoring Engine business rules. Enable idempotency keys for webhook retries.

  3. 3
    Map and transform data

    Align source fields to destination schema; apply filters and business rules.

  4. 4
    Run AI classification step

    GPT-4o classifies, summarizes, or drafts content with brand voice guardrails.

  5. 5
    Notify and log

    Post Slack summary or email digest; append audit row to Google Sheets.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Brand VoiceselectProfessionalNo
Slack Channeltext#generalNo
Gmail Search Querytextis:unreadNo
AI prompt

System prompt template

You assist the "AI Lead Scoring Engine" automation. Follow brand voice, never invent data not in the payload, and output structured JSON when requested.
FAQ

Frequently asked questions

Can I change the connected apps?

Swap connectors in the install wizard—workflow logic for AI Lead Scoring Engine remains the same.

Failure handling?

Failed steps retry 3× with backoff; permanent failures alert Slack #automation-alerts.

Test before go-live?

Use sandbox mode with sample webhook payload; review run history before activating.

Get started

Customize AI Lead Scoring Engine for your business

Our team can adapt this template to your exact workflow, apps, and brand requirements.