Issue Passing Email Body from Make.com to ChatGPT Module




Subject: Issue with Mapping Email Content to ChatGPT – Text Content Empty

Hi Community,

I’m facing an issue while building an email automation workflow using Make.com.

The “Watch Emails” module is successfully fetching email data—including the full message body in the Text content and HTML content fields (as shown in the attached screenshots). However, when I map these fields into the ChatGPT module (OpenAI integration), the text_content appears to be empty during execution. As a result, the prompt doesn’t receive any usable content, and ChatGPT fails to generate a meaningful response.

I’ve tried:

  • Mapping both the text_content and HTML content fields individually
  • Parsing the content within the prompt
  • Reformatting or restructuring the text via prompt instructions

None of these approaches seem to resolve the issue, and the ChatGPT output simply asks for the original matter again, indicating it didn’t receive the intended input.

Could someone please guide me on the correct way to extract and pass the email body into ChatGPT reliably? Any insights or best practices would be greatly appreciated.

Thanks in advance!
Anil Botta

1 Like

HI @SyncAi_Technologies,

I wonder if the image is throwing it off and preventing it from being used in a string field in ChatGPT.

What I would do is create a “set variable” step and test with that. See if you can use the Text Parser and regex to extract out the body contents.

I’m sorry I don’t have a clear answer but hope this helps!

-@Trainward_Consulting

Hey Anil,

the second screenshot shows the OpenAI module was executed on its own and not as part of the flow, in that case you need to provide it with data as there is nothing coming from the previous module.

Also in your case it would be better to create an assistant and message it directly instead of a generic prompt. This will allow you to finetune the output more easily when it fails.

Welcome to the Make community!

You cannot individually run a single module if you don’t have example values of the “Data”, which you must input into the prompt when you manually run a single module.

Try running the full scenario instead by clicking the “Run Once” button:

Screenshot_2025-02-25_220239

For more information, see these duplicate questions previously asked and answered by other community members:

Polling Triggers: Epoch Panel & Selecting Older Data

Go to the Epoch Panel, by right-clicking on the trigger module (polling triggers only), and select “Choose where to start” from the list of options in the context menu.

If you select “From now on”, the next time the scenario runs it will only return new data (or nothing if there is no new data).

You can also select other old data to re-run your scenario with next using the “Choose manually” option. This will then show you a list of previous historical items you can select to process the next time the scenario is triggered.

For more information, see

Hope this helps! Let me know if there are any further questions or issues. P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

@samliew

Subject: Thank You – Issue Resolved

Message:

Hi samliew,

Thank you so much for your prompt response and support.

Your suggestion helped me a lot, and I’m happy to share that everything is working perfectly now. I really appreciate your guidance and the time you took to assist me.

Looking forward to staying connected!

Best regards,
Anil Botta

thank you for your thoughts :slightly_smiling_face:

1 Like

No problem, glad I could help you with “Watch email

1. If anyone has a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help as newer questions are displayed higher on the forum’s “new” page.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

  • others can save time when catching up with the latest activity here, and
  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

3. Don’t forget to like and bookmark this topic so you can get back to it easily in future!

Hope this helps! Let me know if there are any further questions or issues. P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

@samliew