Best answer

Send code from GPT to Github and save as a new file

  • 12 November 2023
  • 1 reply
  • 103 views

Userlevel 1

I’m looking at integrating Zapier and Github into a new GPT agent project.

What I want is to:

  1. make a new branch (preferably with user input for the name)
  2. Create new folders when necessary to keep things organised (preferably automated by GPT)
  3. save code written by GPT into the branch with appropriate file name (e.g. *.cs for C# projects)

Is this possible with the current GitHub - Zapier integration?

icon

Best answer by SamB 13 November 2023, 12:13

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +11

Welcome to the Community, @Squidgers!

I took a look into the current GitHub app actions and couldn’t see any “Create Branch” or “Create Folder” actions available. So unfortunately it doesn’t look like this workflow is possible at present. There aren’t any existing feature request for the ability to create folders so I’d recommend reaching out to our Support team to request that a feature request be opened up on your behalf for this.

I did find an existing feature request for a “Create Branch” action to be added to the GitHub app, so I’ve added your vote to that. I couldn’t find any workarounds reported at present. And we can’t make any promises around when or if it will definitely be added, but we’ll be sure to email you once it is! 🙂