Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.
Emit new event when a new message is posted in a channel
Emit new event when a new message is received in a chat
Emit new event when a new team is joined by the authenticated user
Create a new channel in Microsoft Teams. See the docs here
Queues a connection request to actively connect with a targeted LinkedIn profile. See the documentation
Queues a direct message that will be sent to the targeted profile. See the documentation
Get the list of shift instances for a team. See the documentation
The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_teams: {
type: "app",
app: "microsoft_teams",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
},
})
},
})
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.
// 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;
},
})