Fixed Business Report Formatter
Pricing
$0.05 / actor start
Fixed Business Report Formatter
Generate a US Letter PDF and an editable Word document from structured report sections, tables and lists. Both downloads include a SHA-256 receipt.
Fixed Business Report Formatter
Pricing
$0.05 / actor start
Generate a US Letter PDF and an editable Word document from structured report sections, tables and lists. Both downloads include a SHA-256 receipt.
You can access the Fixed Business Report Formatter programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "payload": {12 "title": "Quarterly Operations Report",13 "author": "Operations team",14 "blocks": [15 {16 "type": "title",17 "text": "Quarterly Operations Report"18 },19 {20 "type": "paragraph",21 "text": "A fixed-layout example for reviewing operational results. All figures below are synthetic."22 },23 {24 "type": "heading",25 "text": "Results"26 },27 {28 "type": "table",29 "columns": [30 "Metric",31 "Value"32 ],33 "rows": [34 [35 "Completed jobs",36 "125"37 ],38 [39 "Open items",40 "8"41 ]42 ]43 },44 {45 "type": "callout",46 "text": "Review the source figures before sharing this report."47 },48 {49 "type": "list",50 "items": [51 "Confirm outstanding items.",52 "Assign the next review date."53 ]54 }55 ]56 }57};58
59// Run the Actor and wait for it to finish60const run = await client.actor("autosecurelogin/fixed-business-report-formatter").call(input);61
62// Fetch and print Actor results from the run's dataset (if any)63console.log('Results from dataset');64console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);65const { items } = await client.dataset(run.defaultDatasetId).listItems();66items.forEach((item) => {67 console.dir(item);68});69
70// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docsThe Apify API client for JavaScript is the official library that allows you to use Fixed Business Report Formatter API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-clientOther API clients include: