What do you want to automate

with Grain and Dux Soup?

Prompt, edit and deploy AI agents that connect to Grain, Dux Soup 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
Connect Profile with Dux Soup API on New Highlight (Instant) from Grain API
Grain + Dux Soup
 
Try it
Connect Profile with Dux Soup API on New Highlight Removed (Instant) from Grain API
Grain + Dux Soup
 
Try it
Connect Profile with Dux Soup API on New Highlight Updated (Instant) from Grain API
Grain + Dux Soup
 
Try it
Connect Profile with Dux Soup API on New Recording (Instant) from Grain API
Grain + Dux Soup
 
Try it
Connect Profile with Dux Soup API on New Recording Removed (Instant) from Grain API
Grain + Dux Soup
 
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 Highlight Updated (Instant) from the Grain API

Emit new event when a highlight is updated.

 
Try it
New Recording (Instant) from the Grain API

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

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

Emit new event when a recording is removed.

 
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
Connect Profile with the Dux Soup API

Queues a connection request to actively connect with a targeted LinkedIn profile. See the documentation

 
Try it
Message Profile with the Dux Soup API

Queues a direct message that will be sent to the targeted profile. See the documentation

 
Try it
Save Profile as Lead with the Dux Soup API

Queues a profile save action to store the targeted profile as a lead. See the documentation

 
Try it
Integrate the Grain API with the Dux Soup API
Setup the Grain API trigger to run a workflow which integrates with the Dux Soup API. Pipedream's integration platform allows you to integrate Grain and Dux Soup 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 Dux Soup

The Dux Soup API enables users to automate interactions and manage leads on LinkedIn. Within Pipedream, you can harness this API to craft workflows that engage with your LinkedIn network, manage connections, and streamline your lead generation process. Automating tasks like sending connection requests, following up with contacts, and tracking profile visits can save valuable time and boost your LinkedIn marketing efforts.

Connect Dux Soup

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// To use any npm package on Pipedream, just import it
import axios from "axios";
import jsSHA from "jssha";

export default defineComponent({
    props: {
    dux_soup: {
      type: "app",
      app: "dux_soup",
    }
  },
  async run({ steps, $ }) {
    const targeturl = `${this.dux_soup.$auth.target_url}/queue`;
    const userid = `${this.dux_soup.$auth.user_id}`;
    const auth_key = `${this.dux_soup.$auth.auth_key}`;

    var shaObj = new jsSHA("SHA-1", "TEXT");
    const timestamp = +new Date();
    let commandrequestjsonbody = {
      command: "visit",
      targeturl,
      userid: userid,
      timestamp: timestamp,
      params: { 
        profile: "",
      }
    }
    commandrequestjsonbody = JSON.stringify(commandrequestjsonbody);
    shaObj.setHMACKey(auth_key, "TEXT");
    shaObj.update(commandrequestjsonbody); 
    var hmac = shaObj.getHMAC("B64");
    const config = {
      url: targeturl,
      method: "POST",
      headers: {
        "X-Dux-Signature": hmac,
        "Content-Type": "application/json"
      },
      data: commandrequestjsonbody
    };
    return (await axios(config)).data;
  },
})

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