Cradl AI is a powerful tool for creating customized machine learning models without extensive coding knowledge. It specializes in processing and understanding various forms of data, including text and images. Utilizing the Cradl AI API on Pipedream, developers can automate workflows involving data analysis, enhance data-driven decision-making, and integrate AI capabilities into applications seamlessly. This opens up opportunities for dynamic interactions with other services, streamlining operations and enhancing user experiences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cradl_ai: {
type: "app",
app: "cradl_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lucidtech.ai/v1/users`,
headers: {
Authorization: `Bearer ${this.cradl_ai.$auth.oauth_access_token}`,
},
})
},
})
Automated Document Processing Workflow: Extract text from uploaded documents on cloud storage platforms like Dropbox or Google Drive using Cradl AI, then analyze and store extracted data in a database such as Google Sheets or Airtable. This workflow can be used for automated invoice processing, extracting data from standardized forms, or updating databases with information from physical documents.
Image Content Analysis and Notification System: Set up a workflow where images uploaded to an AWS S3 bucket are automatically sent to Cradl AI for content analysis. Based on the analysis, if certain criteria are met (like detecting specific objects or text within the image), trigger notifications via email or messaging platforms such as Slack. This can be particularly useful for security systems, quality control in manufacturing, or content moderation in social media.
Real-Time Feedback Collection and Analysis: Implement a system where feedback submitted through a form (e.g., Google Forms or Typeform) is automatically sent to Cradl AI for sentiment analysis. Aggregate and visualize this data in tools like Tableau or Google Data Studio, providing real-time insights into customer satisfaction and helping businesses quickly adjust to feedback trends.
Emit new event when a document processing flow has completed.
Parses data from a document using a custom selected model. See the documentation
Sends a document to an existing flow for human-in-the-loop processing. See the documentation
Cradl AI uses OAuth authentication. When you connect your Cradl AI account, Pipedream will open a popup window where you can sign into Cradl AI and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Cradl AI API.
Pipedream requests the following authorization scopes when you connect your account:
api.lucidtech.ai/users:read
POST
https://auth.lucidtech.ai/oauth2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=client_credentials
POST
https://auth.lucidtech.ai/oauth2/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=client_credentials