email attachment SDK documentation
Where can I find detailed docs on how to use email attachments via the API or SDK? I found a brief example here using Node. But I need more.
https://docs.novu.co/content-creation-design/layouts#override-layout-on-trigger
5 Replies
Hi @Todd H., I'm an AI assistant for Novu. While a team member reviews this question, I'll see if I can find relevant sources for your question.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Layouts
* Mailersend
* SendGrid
* Sendinblue
-----------------------------
Answer
For more detailed documentation on handling email attachments via the Novu API or SDK using Node.js, you can refer to the following example from the official Novu documentation. This snippet demonstrates how to send attachments in an email using the Novu Node SDK:
(1)
This example showcases how to include an attachment in the payload when triggering an email-based workflow. For additional parameters and advanced usage, you might want to explore the comprehensive API and SDK documentation on the Novu website or refer directly to the provided documentation links in the SDK repositories.
Got it. Tagging @Support for additional help.
@Todd H. do you have any specific requirements you are missing?
Are there docs for other languages such as Java, Node, Python, TypeScript, etc.?
We are self hosting Novu on a k8s cluster. Where do the files need to be located to upload them?
__dirname
is vague.
How can we send an attachment via the API?