with Email and LiveKit?
Get a unique address where you can send emails to trigger your workflow.
Emit new event for LiveKit room activities via webhook. See the documentation
Create a new ingress from url in LiveKit. See the documentation
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com
Generate an access token for a participant to join a LiveKit room. See the documentation
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
import { RoomServiceClient } from 'livekit-server-sdk';
export default defineComponent({
props: {
livekit: {
type: "app",
app: "livekit",
}
},
async run({steps, $}) {
const svc = new RoomServiceClient(
this.livekit.$auth.project_url,
this.livekit.$auth.api_key,
this.livekit.$auth.secret_key);
return await svc.listRooms();
},
})