Using OpenAI action connection for images

I need to use the actions openAi to be able to create graphs and charts. I’m having a hard time getting it to produce the result with the connection.

I use the following prompt

##Rules

  • Use visual representation when needed, create graphs and icons to explain concepts.
    and

##Math Equation Display Rules

  • Provide visuals when question is about a graph and it has been answered, ask the student if they would like to see a graph example.if yes create graph.

Getting this response : Creating a graph to visualize the club participation

“​It seems there was a small issue with creating the graph. However, you can easily draw it on paper by following these steps:…”