Generating a new Discord Thread

Looking to see if its possible to generate a new thread during a Pipedream workflow.

Right now the workflow triggers from a google sheet and sends a message in a channel and I would like to have it automatically generate a thread off of that message for discussion of the topic.

Hi @Dappersaurus

First off, welcome to the Pipedream community. Happy to have you!

Yes this is definitely possible, but it will take some logic writing on your end.

I believe this is the Discord API documentation to send a message to a specific thread_id: Discord Developer Portal

You can use that documentation and the Discord - Use any Discord API step scaffolding in Node.js or Python in Pipedream to craft an API request to Discord.

But you’ll have to keep track of these thread_id’s somehow. I recommend using a Data Store in Pipedream, so you can tie a given Google Sheet column/row to a unique thread.

I hope this helps!