PageSourceSearch

https://promptql.io/_next/static/chunks/pages/integrations/promptq…for-gmail.1d4545b8c14fd6da.1790864470201.js

js promptql.io collected 2026-10-03 19:05:47 UTC 16,359 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2462],{99638:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/integrations/promptql-for-gmail",function(){return s(70063)}])},70063:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return j}});var r=s(85893),a=s(41664),n=s.n(a),i=s(41766),o=s(2593),l=s(67363),c=s(82920);let d={meta_title:"PromptQL for Gmail - AI-powered email analysis and drafting",meta_description:"Connect Gmail to PromptQL to get AI-powered email analysis, intelligent drafting, and cross-app context for every conversation.",canonical_url:"https://promptql.io/integrations/promptql-for-gmail",meta_image:{data:{attributes:{url:"https://promptql.io/og/integrations.png"}}}},p={gmail:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/gmail-light.svg","google-calendar":"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/google-calendar-light.svg","google-meet":"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/google-meet-light.svg","google-chat":"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/google-chat-light.svg",salesforce:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/salesforce-light.svg",slack:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/slack-light.svg",linear:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/linear-light.svg",hubspot:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/hubspot-light.svg",zendesk:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/zendesk-light.svg",github:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/github-light.svg",intercom:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/intercom-light.svg",notion:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/notion-light.svg","google-drive":"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/google-drive-light.svg",luma:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/luma-light.svg"},m=[(0,r.jsxs)(r.Fragment,{children:["Click on ",(0,r.jsx)("strong",{children:"Data"})," in the left pane."]}),(0,r.jsxs)(r.Fragment,{children:["Search for ",(0,r.jsx)("strong",{children:"Gmail"})," in integrations."]}),(0,r.jsxs)(r.Fragment,{children:["Click ",(0,r.jsx)("strong",{children:"Connect"}),"."]}),(0,r.jsx)(r.Fragment,{children:"Complete the OAuth flow."}),(0,r.jsx)(r.Fragment,{children:"Done!"})],h=[{question:"What needs my attention today? Prioritize my unread emails",response:"14 emails need attention. 3 marked urgent: contract renewal from Northstar, budget approval from CFO, and escalation from support. 6 are FYIs, 5 are newsletters I can batch later.",followUps:["Show the urgent ones","Unsubscribe from newsletters"]},{question:"Find all emails where someone asked me to do something",response:"Found 8 action items buried in your inbox: 1) Review proposal (due today), 2) Send headcount numbers (EOD), 3) Approve vendor contract, 4) Schedule 1:1 with Jamie...",followUps:["Create tasks for these","Which are overdue?"]},{question:"Which customer emails this week had negative sentiment?",response:"3 emails with concerning tone: 1) Apex Industries frustrated about delayed onboarding, 2) Meridian Systems asking about competitor pricing, 3) Northstar Partners confused about invoice.",followUps:["Draft responses","Flag for escalation"]},{question:"Draft follow-up emails for everyone I met at the conference last week",response:"Found 8 conference contacts from your calendar. Drafted 8 personalized follow-up emails — subject lines and opening lines reference your specific conversation topics. 3 already have threads in your inbox, so those are replies.",followUps:["Review before sending?","Schedule for tomorrow 9am?"]}],x=[{question:"Before my 3pm call, pull together all emails, Slack messages, and CRM notes for Northstar Partners",response:"Northstar Partners context: Last email (yesterday) — they asked about enterprise pricing. Slack — Mike mentioned they're comparing to competitors. Salesforce — $85K ARR, contract expires in 3 weeks, champion is Sarah Chen.",followUps:["Draft talking points","See full email thread"],references:["gmail","slack","salesforce"]},{question:"Which leads from last week's webinar haven't received a response yet?",response:"47 registered, 31 attended. 12 already in HubSpot as MQLs. 8 haven't received any follow-up email. Top 3 by company size: Apex Industries (500+ employees), Meridian Systems (200+), CoreTech Inc (150+).",followUps:["Draft follow-ups for top 3","Add to nurture sequence"],references:["gmail","hubspot","luma"]},{question:"Summarize the email thread with Apex Industries and draft a response based on their open tickets",response:"Thread: 18 messages over 2 weeks about integration issues. They have 2 open P1 tickets in Zendesk (API timeout, data sync). Salesforce shows $120K ARR, renewal in 60 days. Drafted apology with status update and escalation path.",followUps:["Send the draft","Schedule call with their team"],references:["gmail","zendesk","salesforce"]},{question:"Find emails where customers mentioned competitors and categorize by sentiment",response:"Found 12 competitor mentions this quarter: 5 positive comparisons (we're winning), 4 neutral (feature questions), 3 concerning (considering switch). Correlated with Salesforce — the 3 concerning are all in renewal stages.",followUps:["See the concerning ones","Alert account owners"],references:["gmail","salesforce","slack"]},{question:"Summarize all emails from board members and investors this week",response:"4 threads from board members: 1) Q2 numbers request (linked Drive deck), 2) Intro to potential customer, 3) Hiring update question, 4) Strategy doc feedback (linked Notion page). 2 need responses by EOD.",followUps:["Draft responses","Pull the referenced docs"],references:["gmail","notion","google-drive"]},{question:"Show me all candidate emails and draft thank-you notes for everyone I 
1interviewed this week",response:"Interviewed 4 candidates this week. Drafted personalized thank-you emails referencing specific discussion topics from interview notes in Notion. All ready to send from your account.",followUps:["Review before sending","Schedule next rounds"],references:["gmail","notion","google-calendar"]}],g=e=>{let{className:t="w-6 h-6"}=e;return(0,r.jsx)("img",{src:"https://graphql-engine-cdn.hasura.io/promptql/integration-icons/gmail-light.svg",className:t,alt:"Gmail"})},u=e=>{let{className:t="w-4 h-4"}=e;return(0,r.jsx)("svg",{viewBox:"0 0 24 24",className:t,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M7 17L17 7M17 7H9M17 7V15",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})},f=()=>(0,r.jsxs)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",children:[(0,r.jsx)("circle",{cx:"5",cy:"3.5",r:"1.8",fill:"#6B7280"}),(0,r.jsx)("path",{d:"M1.5 9.5c0-1.9 1.6-3.5 3.5-3.5s3.5 1.6 3.5 3.5",stroke:"#6B7280",strokeWidth:"1.2",strokeLinecap:"round"})]});function b(e){let{steps:t}=e;return(0,r.jsx)("ol",{className:"flex flex-col gap-4",children:t.map((e,t)=>(0,r.jsxs)("li",{className:"flex gap-4 rounded-2xl border border-[#E5E5E5] bg-white p-5",children:[(0,r.jsx)("div",{className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-full bg-[#1F212B]",children:(0,r.jsx)(l.Z,{textStyle:"eyebrow2",className:"text-white",children:t+1})}),(0,r.jsx)(l.Z,{textStyle:"body2",className:"text-[#4B5563]",children:e})]},t))})}function w(e){let{example:t}=e;return(0,r.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-[#E5E5E5]",children:[(0,r.jsxs)("div",{className:"flex items-start gap-4 bg-[#F9FAFB] px-6 py-5",children:[(0,r.jsx)("div",{className:"mt-0.5 flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full bg-[#F3F4F6]",children:(0,r.jsx)(f,{})}),(0,r.jsxs)(l.Z,{textStyle:"body2",className:"italic text-[#4B5563]",children:["“",t.question,"”"]})]}),(0,r.jsxs)("div",{className:"border-t border-[#E5E5E5] bg-white px-6 py-5",children:[(0,r.jsxs)("div",{className:"flex items-start gap-3 pb-4",children:[(0,r.jsx)("img",{src:"https://promptql.io/brand-assets/promptql-icon-black.png",alt:"PromptQL",className:"mt-0.5 h-5 w-5 flex-shrink-0"}),(0,r.jsx)(l.Z,{textStyle:"body2",className:"text-[#030712]",children:t.response})]}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:t.followUps.map(e=>(0,r.jsx)("span",{className:"rounded-full border border-[#E5E5E5] bg-[#F9FAFB] px-3 py-1.5 text-[13px] leading-tight text-[#6B7280]",children:e},e))})]})]})}function y(e){let{example:t}=e;return(0,r.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-[#E5E5E5]",children:[(0,r.jsxs)("div",{className:"flex items-start gap-4 bg-white px-6 py-5",children:[(0,r.jsx)("div",{className:"mt-0.5 flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full bg-[#F3F4F6]",children:(0,r.jsx)(f,{})}),(0,r.jsxs)(l.Z,{textStyle:"body2",className:"italic text-[#4B5563]",children:["“",t.question,"”"]})]}),t.references&&t.references.length>0&&(0,r.jsxs)("div",{className:"flex items-center gap-2.5 border-t border-[#E5E5E5] bg-[#F4F6FF] px-6 py-3",children:[(0,r.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wider text-[#9CA3AF]",children:"Referenced:"}),(0,r.jsx)(n(),{href:"/integrations/all",className:"flex items-center gap-1.5",title:"Explore all integrations",children:t.references.map(e=>(0,r.jsx)("img",{src:p[e],alt:e,title:e.replace(/-/g," "),className:"h-6 w-6 rounded-full border border-[#E5E5E5] bg-white p-0.5 shadow-sm"},e))})]}),(0,r.jsxs)("div",{className:"border-t border-[#E5E5E5] bg-[#F9FAFB] px-6 py-5",children:[(0,r.jsxs)("div",{className:"flex items-start gap-3 pb-4",children:[(0,r.jsx)("img",{src:"https://promptql.io/brand-assets/promptql-icon-black.png",alt:"PromptQL",className:"mt-0.5 h-5 w-5 flex-shrink-0"}),(0,r.jsx)(l.Z,{textStyle:"body2",className:"text-[#030712]",children:t.response})]}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:t.followUps.map(e=>
1(0,r.jsx)("span",{className:"rounded-full border border-[#E5E5E5] bg-white px-3 py-1.5 text-[13px] leading-tight text-[#6B7280]",children:e},e))})]})]})}function j(){return(0,r.jsxs)(i.Z,{removeTrustedBrands:!0,footerBgClass:"bg-surface",children:[(0,r.jsx)(o.T,{...d}),(0,r.jsx)("div",{className:"bg-white px-6 pb-16 pt-[168px] md:pb-20",children:(0,r.jsx)("div",{className:"mx-auto max-w-[1060px]",children:(0,r.jsxs)("div",{className:"relative py-12 md:py-16",children:[(0,r.jsx)(c.Z,{delay:0,children:(0,r.jsx)("div",{className:"flex items-center justify-center gap-3 pb-6",children:(0,r.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-[#E5E5E5] bg-[#F9FAFB] px-4 py-2",children:[(0,r.jsx)(g,{className:"w-5 h-5"}),(0,r.jsx)(l.Z,{textStyle:"eyebrow1",className:"text-[#6B7280]",children:"Gmail Integration"})]})})}),(0,r.jsx)(c.Z,{delay:100,children:(0,r.jsx)(l.Z,{textStyle:"h1",as:"h1",className:"mx-auto max-w-[760px] pb-6 text-center text-[#030712]",children:"PromptQL for Gmail"})}),(0,r.jsx)(c.Z,{delay:200,children:(0,r.jsx)(l.Z,{textStyle:"caption",as:"p",className:"mx-auto max-w-[720px] pb-10 text-center text-[#4B5563]",children:"Connect Gmail to PromptQL to get AI-powered email analysis, draft and send emails, compose follow-ups, and get cross-app context for every conversation."})})]})})}),(0,r.jsx)("div",{className:"bg-surface px-6 py-20 md:py-24",children:(0,r.jsxs)("div",{className:"mx-auto grid max-w-[1060px] grid-cols-1 items-start gap-10 lg:grid-cols-[0.95fr_1.05fr] lg:gap-16",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(l.Z,{textStyle:"eyebrow1",className:"pb-4 text-[#6B7280]",children:"Getting Started"}),(0,r.jsx)(l.Z,{textStyle:"section-title",as:"h2",className:"pb-6 text-[#030712]",children:"How to Connect Gmail"}),(0,r.jsx)(l.Z,{textStyle:"body1",className:"pb-8 text-[#4B5563]",children:"Once connected, Gmail becomes a fully integrated workspace in PromptQL. Ask questions about your inbox, find action items, draft and send emails — all using natural language."})]}),(0,r.jsxs)("div",{className:"rounded-3xl border border-[#E5E5E5] bg-[#F9FAFB] p-8",children:[(0,r.jsx)(l.Z,{textStyle:"body2-title",as:"h3",className:"pb-6 text-[#030712]",children:"Instructions to connect Gmail"}),(0,r.jsx)(b,{steps:m})]})]})}),(0,r.jsx)("div",{id:"what-you-can-do",className:"scroll-mt-36 bg-white px-6 py-20 md:py-24",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1060px]",children:[(0,r.jsx)("div",{className:"mb-12 text-center",children:(0,r.jsx)(l.Z,{textStyle:"section-title",as:"h2",className:"pb-6 text-[#030712]",children:"What you can do with PromptQL for Gmail"})}),(0,r.jsx)("div",{className:"flex flex-col gap-4",children:h.map(e=>(0,r.jsx)(w,{example:e},e.question))})]})}),(0,r.jsx)("div",{id:"full-power",className:"scroll-mt-36 bg-surface px-6 py-20 md:py-24",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1060px]",children:[(0,r.jsxs)("div",{className:"mb-12 text-center",children:[(0,r.jsx)(l.Z,{textStyle:"section-title",as:"h2",className:"pb-6 text-[#030712]",children:"Unlock the full power of PromptQL"}),(0,r.jsx)(l.Z,{textStyle:"body1",as:"p",className:"mx-auto max-w-[640px] text-[#4B5563]",children:"Replace specialized email SaaS tools with cross-app intelligence that spans Gmail, your CRM, support tools, and beyond."})]}),(0,r.jsx)("div",{className:"flex flex-col gap-4 pb-10",children:x.map(e=>(0,r.jsx)(y,{example:e},e.question))}),(0,r.jsx)("div",{className:"text-center",children:(0,r.jsxs)(n(),{href:"/integrations/all",className:"inline-flex h-11 items-center justify-center gap-2 rounded-full border border-[#D1D5DB] bg-white px-6 py-2 font-medium text-[#1F212B] transition-all duration-200 ease-in-out hover:bg-[#F5F5F5]",children:["Browse all integrations",(0,r.jsx)(u,{className:"h-4 w-4"})]})})]})}),(0,r.jsx)("div",{className:"bg-[#1F212B] px-6 py-20 md:py-24",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1060px] text-center",children:[(0,r.jsx)(l.Z,{textStyle:"section-title",as:"h2",className:"mx-auto max-w-[560px] pb-4 text-white",children:"Start querying your inbox with AI"}),(0,r.jsx)(l.Z,{textStyle:"body1",as:"p",className:"mx-auto max-w-[520px] pb-10 text-[rgba(255,255,255,0.6)]",children:"Connect Gmail to PromptQL and get email analysis, action item extraction, and cross-app context — all in natural language."}),(0,r.jsx)("div",{className:"flex flex-col items-center justify-center gap-4 sm:flex-row",children:(0,r.jsx)(n(),{href:"https://prompt.ql.app/",className:"inline-flex h-11 items-center justify-center rounded-full border border-[rgba(255,255,255,0.3)] bg-transparent px-6 py-2 font-medium text-white transition-all duration-200 ease-in-out hover:bg-[rgba(255,255,255,0.08)]",children:"Get started"})}),(0,r.jsx)(l.Z,{textStyle:"body2",as:"p",className:"mt-4 text-[rgba(255,255,255,0.4)]",children:"No credit card required"})]})}
1),(0,r.jsxs)("div",{className:"border-t border-[#E5E5E5] bg-surface px-6 py-10",children:[(0,r.jsxs)("div",{className:"mx-auto flex max-w-[1060px] flex-col items-center justify-center gap-4 sm:flex-row sm:gap-8",children:[(0,r.jsx)(n(),{href:"/ai-transparency",className:"text-[14px] text-[#6B7280] transition-colors duration-150 hover:text-[#030712]",children:"AI Transparency"}),(0,r.jsx)("span",{className:"hidden text-[#D1D5DB] sm:block",children:"\xb7"}),(0,r.jsx)(n(),{href:"/integrations/all",className:"text-[14px] text-[#6B7280] transition-colors duration-150 hover:text-[#030712]",children:"All Integrations"})]}),(0,r.jsxs)(l.Z,{textStyle:"body2",as:"p",className:"mx-auto mt-6 max-w-[640px] text-center text-[#9CA3AF]",children:["The use of raw or derived user data received from Workspace APIs will adhere to the"," ",(0,r.jsx)("a",{href:"https://developers.google.com/terms/api-services-user-data-policy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-[#6B7280]",children:"Google User Data Policy"}),", including the Limited Use requirements."]})]})]})}},65500:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3"}}},function(e){e.O(0,[3996,1862,5276,9555,4658,2888,9774,179],function(){return e(e.s=99638)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.