![]() Then, go to set up “Template data” in the same window. In our example, it’s “Invoice from Stripe payment”. Then, find the process you have created in the Plumsail Documents account. In the next substep, you have to find and select the “Start document generation process” action. The next step is the last!Īdd a new step, find and select Plumsail Documents as a connector. This way, we did our formatting from cents to dollars. In this way, we made the formula div(outputs('Compose'), 100) in the expression condition. Then put a hundred as a divisor in the formula. Read the article to learn more about how to store and manage variables in values.Īfter that, we go to the “Dynamic content” folder and select our composed “Amount” data from the previous step. Then, name Variable, select Type integer, and find math expression div(dividend, divisor). To do this, find and select the “Initialize variable” action. In this step, we are going to set the Composed data as a variable with the math expression. If everything is right, as in the screenshot, press the “OK” button. In the result, you will see the formula int(triggerOutputs()?). Then, without pressing the “OK” button, go to the “Dynamic content”. Click in the Inputs field and go to “Expression”. To accomplish this, you have to use the expression in condition. Next, change Stripe “Amount” data from a string into integer format. To do so, find the “Compose” for the Data Operation action. Because of that, to make the amount in dollars back in the resulting invoice, we have to add a few steps before the data will be sent in Plumsail Documents. It means, that when you set, for example, $10.00 in payment price, the data going through the connector will be 1000 cents. Essentially, Stripe “Amount” output data is in cents. Then, select the Customer ID to put it in the field of Action.Īfter that, we go to the next step. Find the “Get a customer” action from the Stripe connector. Then, go back to Power Automate, paste the “Secret key” from Stripe, and name the connection. Then, go to your Stripe account in the developers section and find the API keys in the menu. You will see the window where you have to put an API key from Stripe. In the next step, we have to connect our Stripe account to Power Automate with the help of an API key. For our example, we found and selected the trigger “When a charge is added”. There are a few triggers that Power Automate connector use with Stripe. Next, you have to select a trigger and name it. ![]() Next, click on the “Save & Next” button to go to the set up output settings.įirst, create a new automated workflow in Power Automate by Microsoft. Read this article to get familiar with the templating engine. Other steps will be the same.Īs you can see in the screenshot above, our document has special brackets is treated as a placeholder for the data we supply by the templating engine. ![]() In this step, choose “Start from blank” when creating a process. To do so, you can upload and convert your document into a template. Note: To keep the look of your bills consistent, utilize the Stripe invoice template in Plumsail Documents. If you don’t want to build your invoice, you can choose one of the invoice templates from the list. To accomplish this, we choose “Start from template” and name the process. We’ll use our invoice template as an example. ![]() Go to Processes in your Plumsail account and add a new process. In this step, we need to create the process in Plumsail Documents. Set up the invoice generation in Plumsail Documents Convert DOC, XLS, PPT to DOCX, XLSX, PPTX.Aliases in DOCX, XLSX, and PPTX templates.Operations in DOCX, XLSX and PPTX templates.Value properties in DOCX, XLSX and PPTX templates.How to use Power Automate to create an invoice after payment in Stripe.Automatically generate and send invoices from Stripe payments using Zapier.Configure output file format and other settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |