# Chat GPT e-completion module - Generate instagram reels scripts (Doesn't work)

**URL:** <https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533>\
**Category:** Beginner Questions\
**Tags:** dropbox, chatgpt, functions, api, mapping\
**Created:** [January 26, 2024, 9:08pm UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533 "2024-01-26T21:08:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![DayinNC](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@DayinNC](https://community.make.com/u/DayinNC)\
**Post date:** [January 26, 2024, 9:08pm UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/1 "2024-01-26T21:08:44Z")

</div>

**Hello all, first I am new to this platform and glad to be part of it, wonderful tool !**

My **goal is to create an automation that generates instagram video reels scripts based on an audio file which is into a dropbox folder, the result should be into a google doc**. The **issue** is that **I only get the transcription of the audio file within the google doc without the “script” part**. The “Completion” with the “Create a Prompt Completion GPT” method seems to not work. Here are all the screenshots of my scenario and modules details :

To me, the solution lies in the google doc module setting, it could be the following options : “Choices” or “Usage”. I am looking for further point of views, helps, to solve the issue ! Thank you in advance 🙂

 ![scenario](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/9/3/93ca74f37881594779b83f481e6526bda5bb76c8.png)  
 ![dropbox module details](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/8/68efe6a62057008e6b470480a0e39e37b309d0c9.jpeg)  
 ![chat gpt create a transcription (whisper) details](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/1/d/1d55c85a609c8cb7573ccfcedc81f86c28ab686a.jpeg)  
 ![create a chat gpt completion details](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/5/d5039ed87723ddb1450c2c23c1a764d1479fb019.jpeg)  
 ![dropbox details](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/1/8181891a06de5d1f338cb15e41539d6d0d9def96.jpeg)

---

<div class="post-metadata">

**Author:** ![IOA\_Brett](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/ioa_brett/32/16853_2.png) [@IOA\_Brett](https://community.make.com/u/IOA_Brett)\
**Post date:** [January 26, 2024, 10:14pm UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/2 "2024-01-26T22:14:53Z")

</div>

Hello DayinNC,

Open AI Chat Completions responses take the following form:

```auto
{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "message": {
        "content": "The 2020 World Series was played in Texas at Globe Life Field in Arlington.",
        "role": "assistant"
      },
      "logprobs": null
    }
  ],
  "created": 1677664795,
  "id": "chatcmpl-7QyqpwdfhqwajicIEznoc6Q47XAyW",
  "model": "gpt-3.5-turbo-0613",
  "object": "chat.completion",
  "usage": {
    "completion_tokens": 17,
    "prompt_tokens": 57,
    "total_tokens": 74
  }
}

```

So the response would be located at the first index of the choices array. (Under message.content)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![ThakurHemansh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/thakurhemansh/32/51014_2.png) [@ThakurHemansh](https://community.make.com/u/ThakurHemansh)\
**Post date:** [January 27, 2024, 3:34am UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/3 "2024-01-27T03:34:24Z")

</div>

Hey @DayinNC  
ChatGPT module does not actually work similar to how chatgpt interface works  
It does not have threads to continue from one module to another  
Assistant is an exception

You should map the transcription to create a completion module  
In prompt  
And then the content from create a completion module will be your desired output  
Now you can map that to your google doc  
Right now the prompt in create a completion module does not have any content to work with  
You will have to give the content of transcription module to this module

---

<div class="post-metadata">

**Author:** ![Msquare\_Automation](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/msquare_automation/32/6634_2.png) [@Msquare\_Automation](https://community.make.com/u/Msquare_Automation)\
**Post date:** [January 27, 2024, 3:47am UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/4 "2024-01-27T03:47:20Z")

</div>

Hi @DayinNC

Please check within the Choice section. There should be a collection of messages, including the result content. You can map the result in the Google Doc.

If you require additional assistance, please don’t hesitate to reach out to us.  
[MSquare Support](https://calendly.com/msquarepro/meeting)  
Visit us [here](https://www.msquare.pro/)  
[Youtube Channel](https://www.youtube.com/channel/UCqidlIIwbejxZmRUWBICcjQ)

---

<div class="post-metadata">

**Author:** ![DayinNC](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@DayinNC](https://community.make.com/u/DayinNC)\
**Post date:** [January 27, 2024, 5:50pm UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/5 "2024-01-27T17:50:04Z")

</div>

Thank you for your detailed answer, here is a screenshot of my Open AI chat completions responses and I don’t know why, the output lenght is only a few words instead of 30 seconds Instagram reels scripts. Here is a screenshot below.

To me, it is due to the Open AI max tokens or settings to modify. Looking for your ideas, thoughts and answers to solve the issue !

Thank you !

 ![OPEN AI COMPLETION INPUT+OUTPUT](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/2/029d60517d337cd0a1971c69d504ff7a067e6002.jpeg)

 ![Detail Open AI completioh (see the prompt)](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/0/d0dbe5208602805d5405daf5826a9a825e883f93.png)

---

<div class="post-metadata">

**Author:** ![DayinNC](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@DayinNC](https://community.make.com/u/DayinNC)\
**Post date:** [January 28, 2024, 5:55pm UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/6 "2024-01-28T17:55:20Z")

</div>

Thank you for your detailed answer, here is a screenshot of my Open AI chat completions responses and I don’t know why, the output lenght is only a few words instead of 30 seconds Instagram reels scripts. Here is a screenshot below.

To me, it is due to the Open AI max tokens or settings to modify. Looking for your ideas, thoughts and answers to solve the issue !

Thank you !

> [@Chat GPT e-completion module - Generate instagram reels scripts (Doesn't work)](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/5):
>
> Thank you for your detailed answer, here is a screenshot of my Open AI chat completions responses and I don’t know why, the output lenght is only a few words instead of 30 seconds Instagram reels scripts. Here is a screenshot below. To me, it is due to the Open AI max tokens or settings to modify. Looking for your ideas, thoughts and answers to solve the issue ! Thank you !

---

<div class="post-metadata">

**Author:** ![DayinNC](https://avatars.discourse-cdn.com/v4/letter/d/c67d28/32.png) [@DayinNC](https://community.make.com/u/DayinNC)\
**Post date:** [January 28, 2024, 5:56pm UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/7 "2024-01-28T17:56:13Z")

</div>

Thank you for your detailed answer, here is a screenshot of my Open AI chat completions responses and I don’t know why, the output lenght is only a few words instead of 30 seconds Instagram reels scripts. Here is a screenshot below.

To me, it is due to the Open AI max tokens or settings to modify. Looking for your ideas, thoughts and answers to solve the issue !

> [@Chat GPT e-completion module - Generate instagram reels scripts (Doesn't work)](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/5):
>
> Thank you for your detailed answer, here is a screenshot of my Open AI chat completions responses and I don’t know why, the output lenght is only a few words instead of 30 seconds Instagram reels scripts. Here is a screenshot below. To me, it is due to the Open AI max tokens or settings to modify. Looking for your ideas, thoughts and answers to solve the issue ! Thank you !

Thank you !

---

<div class="post-metadata">

**Author:** ![rthidden](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rthidden/32/16248_2.png) [@rthidden](https://community.make.com/u/rthidden)\
**Post date:** [January 29, 2024, 2:13am UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/8 "2024-01-29T02:13:46Z")

</div>

In the OpenAI module where you asking it to write the scripts you need to map the text variable from the Whisper output in the module before it to the prompt input in the script writing module.

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/9/c9ae5448687716f174c28ea903ddf1a83b30af86.png)

In your prompt you could do something like this:

summarize the following text in 3 video scripts for Instagram reels of 30 seconds in length each:

1. Text

---

<div class="post-metadata">

**Author:** ![ThakurHemansh](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/thakurhemansh/32/51014_2.png) [@ThakurHemansh](https://community.make.com/u/ThakurHemansh)\
**Post date:** [January 29, 2024, 7:38am UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/9 "2024-01-29T07:38:35Z")

</div>

I tried with a sample audio where speaker spoke for 50 seconds and that worked for me  
the output had complete transcription

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [April 28, 2024, 6:49am UTC](https://community.make.com/t/chat-gpt-e-completion-module-generate-instagram-reels-scripts-doesnt-work/25533/10 "2024-04-28T06:49:03Z")

</div>


