What do you want to automate

with Grain and HeyGen?

Prompt, edit and deploy AI agents that connect to Grain, HeyGen and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Create Talking Photo with HeyGen API on New Highlight (Instant) from Grain API
Grain + HeyGen
 
Try it
Create Talking Photo with HeyGen API on New Highlight Removed (Instant) from Grain API
Grain + HeyGen
 
Try it
Create Talking Photo with HeyGen API on New Highlight Updated (Instant) from Grain API
Grain + HeyGen
 
Try it
Create Talking Photo with HeyGen API on New Recording (Instant) from Grain API
Grain + HeyGen
 
Try it
Create Talking Photo with HeyGen API on New Recording Removed (Instant) from Grain API
Grain + HeyGen
 
Try it
New Highlight (Instant) from the Grain API

Emit new event when a highlight that matches the filter is added.

 
Try it
New Highlight Removed (Instant) from the Grain API

Emit new event when a highlight is removed.

 
Try it
New Avatar Video Custom Event (Instant) from the HeyGen API

Emit new event when a specific avatar video event occurs. The user can define a custom set of event(s) to trigger. See the documentation

 
Try it
New Highlight Updated (Instant) from the Grain API

Emit new event when a highlight is updated.

 
Try it
New Avatar Video Failure (Instant) from the HeyGen API

Emit new event when a Heygen video fails during processing. See the documentation

 
Try it
Get Recording with the Grain API

Fetches a specific recording by its ID from Grain, optionally including the transcript and intelligence notes. See the documentation

 
Try it
Create Talking Photo with the HeyGen API

Creates a talking photo from a provided image. See the documentation

 
Try it
Create Video From Template with the HeyGen API

Generates a video from a selected template. See the documentation

 
Try it
Retrieve Video Link with the HeyGen API

Fetches a link for a specific heygen video. See the documentation

 
Try it
Integrate the Grain API with the HeyGen API
Setup the Grain API trigger to run a workflow which integrates with the HeyGen API. Pipedream's integration platform allows you to integrate Grain and HeyGen remarkably fast. Free for developers.

Connect Grain

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    grain: {
      type: "app",
      app: "grain",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.grain.com/_/public-api/me`,
      headers: {
        Authorization: `Bearer ${this.grain.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of HeyGen

The HeyGen API offers tools for generating visual content, such as social media posts, banners, and other graphics programmatically. Integrating this API with Pipedream allows you to automate the creation and distribution of visual assets based on various triggers and data sources. For example, you can generate new images when a new product is added to your inventory, create customized social media posts from RSS feed items, or even automate weekly visual reports.

Connect HeyGen

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    heygen: {
      type: "app",
      app: "heygen",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.heygen.com/v2/avatars`,
      headers: {
        "X-Api-Key": `${this.heygen.$auth.api_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo