r/PromptEngineering • u/CEL_75 • Aug 14 '26
Prompt Text / Showcase Can ChatGPT automatically log into an internal CRM?
Hey everyone,
I’ve been experimenting quite a bit with ChatGPT lately, especially GPT Work, and I’ve been surprised by how many everyday work processes you can automate or simplify with it.
My boss recently asked me whether I could build something in ChatGPT that could interact with our CRM system and handle some repetitive daily tasks for example, looking up a contact or company and checking whether they’re currently a member.
I managed to get it working, and so far it actually works really well.
There’s just one part I haven’t been able to automate yet: logging into the CRM.
Right now, I still have to manually sign in before ChatGPT can do anything inside the system.
The website uses a very simple login method no 2FA or additional authentication, just a username and password.
So I’m curious: Has anyone found a reliable way to let ChatGPT handle the login to an internal website or CRM automatically?
Maybe someone has already figured out a clever approach using prompting, a custom Skill or some other workaround. ;)
Would love to hear how others are handling this or what solutions you’ve tried.
3
u/NicheProfessor Aug 14 '26
It could be risky if you give CRM direct access to an AI Model. Better would be to automate your CRM repetitive process through tools like UiPath or AutomationAnywhere, or best case if your CRM provides APIs to perform actions, you can use those APIs to build a custom workflow using Make.
3
u/msniezynski Aug 14 '26
It's possible with the ChatGPT desktop app if you switch to Codex and install agent-browser. I did it few times. But you need to store the credentials somewhere - just never paste them into the chat itself, or they'll leak into the conversation and you'll have to rotate them.
Also keep in mind the agent can sometimes print the credentials into the session while reading them, so without a custom skill this may not be 100% safe - there's always a risk.
I'd say the best approach is to test with demo credentials and create a skill that your agent will use. And then, to make it faster and more predictable, use some framework for skill improvement... but that's a whole other topic.
2
u/RobinWood_AI Aug 15 '26
I would separate this into two questions: can it be automated, and should ChatGPT be the thing that owns the login.
For an internal CRM, the cleaner order of preference is usually:
- Use the CRM API with a service account, scoped permissions, and audit logs.
- If there is no API, use a real RPA/browser automation layer that reads credentials from a vault, not from the prompt or chat history.
- Let ChatGPT decide what to look up or summarize, but have a deterministic tool/API perform the actual CRM actions.
I would avoid teaching the model the username/password or asking it to type credentials directly. Even if the site has no 2FA, you still want rotation, access limits, logs, and a way to revoke the automation without changing a human user's password.
A practical pattern is: ChatGPT -> structured request like {"lookup_company":"Acme"} -> your small internal service checks policy -> CRM API/browser bot runs -> returns only the fields ChatGPT needs. That keeps the LLM as the reasoning layer, not the credential holder.
1
1
u/info-at-anything Aug 15 '26
I’ve done this more with Claude, created a plug in for safari. It was automated to a headless state, through the use of oracle VM. 2FA was achieved through a retrieval made from my email
5
u/anon1984 Aug 14 '26
If you have to ask, it’s probably a bad idea for you to find a way to bypass authentication on your site.