Typless is an easy-to-use invoice OCR REST API powered by AI
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
The Typless API offers a streamlined solution for extracting data from documents using machine learning. With its capability, you can automate the process of pulling out specific information from various document types, such as invoices, receipts, or identity documents, turning unstructured data into structured and actionable data points.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typless: {
type: "app",
app: "typless",
}
},
async run({steps, $}) {
const data = {
"document_type_name": `simple-invoice`,
}
return await axios($, {
method: "post",
url: `https://developers.typless.com/api/start-training`,
headers: {
"Accept": `application/json`,
"Authorization": `Token ${this.typless.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}