Code Assistant missing in Workflow

Dear Community

When I am composing for instance a graphQL query in the Workflow environment, I don't find the purple AI Assistant in the lower right of the code window in a query block. How can I enable that?

I end up designing queries in an app then copy pasting , is this intended ?

Best

1 Like

Hello @mascaritas!

Great catch, it seems that not all types of query blocks have the purple AI Assistant, let me file a feature request for that and see what I can do.

Will keep you updated on that FR in this thread, it sounds like you have a temporary work around where you design queries in app where the AI assistant is accessible and then move them over which is great to hear.

1 Like

Hi , any update on this ?

Hello @mascaritas,

I just checked on the ticket and unfortunately there doesn't seem to be an update on this, I just added in a comment on the ticket so hopefully that will help.

I would say for now, continue building out graphQL queries in app and then moving them over. Our workflows team is working on a lot of large projects but hopefully someone can get to picking this ticket up :crossed_fingers:

1 Like

Dear Jack

Any news on this? Wohld be really helpful to make this available in both environments where the same block / resource is used

Hello @mascaritas,

Let me double check on that for you. I haven't seen any updates come through but I can ping someone on the team to see if there are any info.

Hello @mascaritas,

You should be able to see the purple AI robot logo for GraphQL queries in workflow blocks currently!

I did learn from our engineering team that this does not appear with "adhoc graphql queries", as I had created a query without connecting it successfully to a working GraphQL resource, as that must be done for the icon to appear.

I was also told that "This is expected because without a proper resource we can't fetch the schema that is used for Copilot, so this is by design".

So let me know if you are still not seeing this, if you are self hosted, it might only be available to users after a certain version which I can investigate to see if you need to update the version of Retool that you are running, but if you are on cloud it should be there :saluting_face:

Thanks for checking back

Created new workflow
Placed a new Ressource Query on our connected GraphQL that reads very well on all apps including AI Agent

--> unfortunately no Agent shown yet.

How can I update a version, is it manual ?

Hi @mascaritas,

My apologies I can confirm that the AI assistant is not appearing for me on the most up to date version.

I just checked your deployment and you are on the cloud so no need to worry as you will be updated to our newest live versions automatically.

While we fix this, I did find a workaround! You can go to your Query Library where the AI bot will be there once you re-auth into the resource. You can build your query there and then import into into your workflows!

First, click the Retool logo in the top left, Query Library will appear in the dropdown.

CleanShot 2025-01-21 at 14.04.25@2x

Then create a new query, specify resource, re-auth in and the bot should be bottom right as in my screenshot!

Thanks and also for the workaround, I did the same only in-app

1 Like

No problem @mascaritas!

Glad I could help. Will update this post with any news from the engineering team.