Integrate GitHub and Leonardo AI to automate workflows with scalable backend

Connect GitHub and Leonardo AI nodes to in your workflow. Integrate with any tool or database and ship powerful backend logic and APIs instantly - No code required!

Getting Started

How To Connect GitHub and Leonardo AI

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

01

Step 1: Add Trigger Node

It is the node that will start your workflow execution.

02

Step 2: Connect GitHub and Leonardo AI

It is the node that will start your workflow execution.

Step 2: Connect GitHub and Leonardo AI

It is the node that will start your workflow execution.

02

Step 2: Connect GitHub and Leonardo AI

It is the node that will start your workflow execution.

03

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

03

Step 3: Integrate with any other tool or service

Add any other tools or your preferred database nodes. If an integration is not available generate your own using AI

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

04

Step 4: Execute Workflow

Once done, test and click ship to run as an API or scheduled job.

Node stack

Supported Triggers & Actions

GitHub NODES

GitHub Trigger

Creates a repository webhook on GitHub. In other words, this workflow will be executed when there is an event on the provided repository.

Add Labels to Issues

Appends the provided labels to a Github PR/Issue using Octokit

Commit File - OAuth

Commit a file to a GitHub repository using a personal access token, repository name, branch, file name, and file content.

Count Open Issues

Gets the number of open issues excluding pull requests in a public repository using Octokit library

Create Branch

Create a new branch on Github using Octokit with personal access token, repository, base branch, and new branch name

Create Branch - OAuth

Create a new branch on Github using Octokit with personal access token, repository, base branch, and new branch name

Create Pull Request

Create a pull request on GitHub using Octokit

Create Pull Request - OAuth

Create a new pull request on Github

script

Fetch Commits Since Last Release

Fetches commits and pull requests merged since the last release using Octokit

script

Fetch GitHub User

Fetches a GitHub user by username

script

Get File Content

Fetches the content of a file from a GitHub repository.

script

Get Issue

Fetch data of a specific issue or PR using octokit library

script

Get Issue - OAuth

Fetches a specific issue from a GitHub repository

script

Get Issue Labels

Fetches the existing labels in a Github repository using Octokit

script

Get Issue Labels - OAuth

Fetches labels of a GitHub repository

script

Get User - OAuth

Fetches a GitHub user by username

script

Rename Branch - OAuth

Renames a Github branch

script

Leonardo AI NODES

Generate Image

This endpoint generates images with the given generation prompt and returns the Generation ID.

script

Generate Prompt

This endpoint returns a random image generation prompt.

script

Improve Prompt

This endpoint returns an improved image generation prompt.

script

Upload Dataset Image

This endpoint uploads the given file buffer to the signed URL provided by the **Upload Init Image** node. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

script

Upload Init Image

This endpoint returns a random image generation prompt. Detailed instructions for using this endpoint are available in the guide: [How to upload an image using a presigned URL](https://docs.leonardo.ai/docs/how-to-upload-an-image-using-a-presigned-url).

script

Support

Need Help?

Here are some helpful resources to get you "unstuck"

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your
BIGGEST ideas
in the *simplest* of ways.

Start building your BIGGEST ideas in the *simplest* of ways.