Unable to insert text into ChatGPT input box via Automa #2060
Unanswered
axeleplus83400-create
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I’m building an Automa workflow to send prompts automatically into ChatGPT’s message box and submit them. The workflow opens the ChatGPT tab and focuses the input, but no matter what I try, the text never actually appears inside the editor (even though if I do the same steps manually, it works fine).
Here’s what I’ve tried:
• Click Element on div._prosemirror-parent_38p30_2 (and other selectors I found in public workflows). Added “Wait for selector” with different timeouts. It focuses the box but no text shows up.
• Clipboard + Press Key using Cmd+V (Mac) / Ctrl+V (Windows). The clipboard is loaded with my text, but pressing paste in automation doesn’t insert anything.
• JavaScript Code block to set textContent, innerText, or innerHTML and trigger input/change events. ChatGPT still doesn’t detect the text.
• Forms block to set the field value — but it seems ChatGPT uses a ProseMirror contentEditable div that ignores standard form inputs.
• Tried selectors from marketplace workflows like textarea#prompt-textarea, but that element no longer exists in the current UI.
• Also tested sending the text key-by-key via Press Key — it either types outside the box or nothing happens.
The weird thing: if I manually click the box and paste, it works fine. But when automation does it, nothing is inserted.
Has anyone here recently managed to send text into ChatGPT’s input with Automa? I’m wondering if ProseMirror needs a very specific JS method or event chain to accept the input.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions