Skip to content

How to make a text bot with ChatGPT's help

You can't attach a phone number to your personal ChatGPT account through us. You can have ChatGPT help you make a bot of your own that people text.

Set it up

  1. Start a line, choose Let your agent set it up, and pick ChatGPT.
  2. Paste the prompt, then say what the bot should do.
  3. ChatGPT writes a small endpoint and gives you click-by-click steps. A Cloudflare Worker or a Val Town function works well.
  4. Deploy it, copy the URL, and paste it back to ChatGPT or straight into our box.
  5. We text it. When an answer comes back, it's live.

If ChatGPT is in a mode that can run code and make requests, it may connect the endpoint itself.

A good first request

A houseplant doctor with a blunt personality. Ask one question before diagnosing.
Use the OpenAI API with my key stored as a secret in the Worker. Under 280 characters.

Things that trip people up

  • A preview URL. Use the deployed one.
  • The key in the code. Store it as a secret in your host and don't paste it into the chat.
  • 429 from OpenAI: your API account has no credit or hit a rate limit.
  • Markdown. Texts are plain, so ask for plain sentences.

Questions

Will it have my ChatGPT history or custom GPTs?

No. It's a separate bot you deploy and can't see your ChatGPT account.

Does ChatGPT Plus cover the bot?

No. If your bot calls the OpenAI API, OpenAI bills that separately.

Do you run it for me?

No. It runs on your host with your key. We only carry the texts.

Get a number free