Generate and Send Stripe Summary Reports with BuildShip
Tags: stripe, beginners, tutorial, api
Published: 2024-01-18 08:52:11

If you're seeking a powerful tool that can help you build complex backend solutions with the ease of low-code and no-code, look no further than BuildShip. This blog will guide you on how to generate and send a Stripe summary report by email using BuildShip's new feature.

## What is BuildShip?

BuildShip is an AI low-code workflow backend builder that simplifies the process of creating backend solutions. It offers a variety of templates and features that can be customized to suit your specific needs. One of these features is the ability to generate a Stripe summary report.

## How to Generate a Stripe Summary Report with BuildShip

To begin with, navigate to your project in BuildShip and select the template for the workflow that suits your needs. In this case, we're focusing on the 'Stripe Summary Report' template.

![Stripe Summary Report Workflow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v0z6poq29rs5c3vs4pxp.png)

Once you've selected your template, you'll see that most of the work is already done for you. There are just a few fields for you to fill in. Let's walk through each node:

- **Trigger Node:** This is your schedule or CRON job with a location. You can set your CRON syntax schedule once a month and define the time zone.

![CRON Job Node](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/omo8yurp2zi8h2oqk0m2.png)

- **Generate Stripe Report Node:** Here, you'll see a warning that the Stripe API key is required. You can safely store your secrets in BuildShip. If you already have a Stripe key, you can select it here.

![Generate Stripe Report Node](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/540jt2duehjjkkw9db6e.png)

- **JSON to HTML Node:** This node turns the JSON from Stripe into HTML. We'll delve into this more shortly.

![JSON to HTML Node](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m4xgv4j57unau17nokkl.png)

- **Generate PDF Document Node:** This node uses Puppeteer to convert the HTML input into a PDF document and saves it to the cloud storage. The input comes from the generated HTML, and the browserless key comes from your secrets.

![Generate PDF Document Node](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/12kdzmv466mp47a7xzcz.png)

- **Send Email Node:** This is the final node, which sends emails with the PDF as an attachment. You'll be using the Resend API for this. Enter your Resend secret, recipient email, and the 'from' address.


![Send Email Node](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/voosrbc8gxznmc1uk8xn.png)

Once you've filled in all the necessary fields, you're ready to deploy your summary report generator. After successful deployment, you can see your workflow in action.

## Customizing Your Workflow
One of the standout features of BuildShip is its ability to customize and tweak parts of your workflow. For instance, if you want to add a footer to the HTML of your Stripe report, you can use the AI feature in BuildShip to do this. Simply click on the magic wand button next to the node, write your prompt, and let the AI work its magic. In this case, we're adding a footer that says 'Built with BuildShip'.

![Customizing Your Workflow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rl4qp6isq4udhrrsraby.png)

## Conclusion
BuildShip offers a powerful and flexible solution for building your own backend solutions. With its low-code and no-code approach, it's easier than ever to get up and running with your own customized workflows. Stay tuned for more tutorials on how to get the most out of BuildShip.

Remember, we're just scratching the surface here. There's so much more you can do with BuildShip. Happy Building!

If you enjoyed our content, please give us a [follow on Twitter](https://twitter.com/BuildShipApp) or [join our Discord](https://buildship.com/discord) in case of any questions. We look forward to hearing from you! 💜