AWS Comprehend and PromptLayer Integration

Demonstration of how apps are integrated in WEXTL workflow builder[4]

Keep AWS Comprehend and PromptLayer matched by integrating their events and actions. When ai events happen in AWS Comprehend, update the PromptLayer automatically - without any line of code in visual workflow builder.

  • 3-day trial
  • Cancel anytime
  • Up to 10 minutes quick set up
  • GDPR
  • Data Encryption
  • 2FA
  • Local Data Region

Learn about AWS Comprehend and PromptLayer

Detailed info you need to know about AWS Comprehend and PromptLayer integrations in WEXTL. Explore which modules apps support and how you connect them.

  • AWS Comprehend

    • AI
    • 50 searches
    • 36 actions

    Amazon natural language processing service for finding insights in text.[5]

  • PromptLayer

    • AI
    • 4 triggers
    • 55 searches
    • 89 actions

    Manage prompt templates, log and search LLM requests, run workflows and evaluations.[6]

How to connect AWS Comprehend to PromptLayer

Set up your AWS Comprehend and PromptLayer integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.

How does the integration between AWS Comprehend and PromptLayer work in WEXTL?

WEXTL exposes actions and triggers for AWS Comprehend and PromptLayer that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.

PromptLayer triggersAWS Comprehend actions

PromptLayer modules

  • Add a Request Log to a Draft Dataset Copies a logged request into the draft of a dataset group as a new row, and returns the Draft Dataset ID.
  • Add a Trace to a Draft Dataset Adds a trace to the draft of a dataset group as a row. Narrow it to a single span with Span ID. The result includes the new Draft Dataset ID.
  • Add an Evaluation Column Adds a scoring or transformation step to an evaluation pipeline. Give it a Column Type, a display Name and a Configuration, and use Position to place it.
  • Add Rows Appends blank rows to a sheet. Use Count for how many, from 1 to 100, and Values to prefill text columns of each new row.
  • Attach an External ID to a Dataset Group Records an identifier from another system against a dataset group. Fill Source with the namespace that owns it and External ID with the value.
  • Attach an External ID to a Folder Records the identifier that another system uses for a folder. Pair Source, the owning system, with the External ID value.
  • Attach an External ID to a Prompt Template Connects a prompt template to a record kept elsewhere, using a Source namespace and an External ID.
  • Attach an External ID to a Skill Collection Stores an identifier from an outside system against a skill collection, under the Source that owns it.
  • Attach an External ID to a Tool Registry Associates a registered tool with its identifier in another system. Provide the Source namespace together with the External ID.
  • Attach an External ID to a Workflow Registers the identifier an outside system uses for a workflow, under a given Source.
  • Attach an External ID to an Evaluation Pipeline Tags an evaluation pipeline with the key an outside tool uses for it. Provide the owning system as Source and its key as External ID.
  • Cancel a Sheet Operation Stops a running sheet operation. The response reports the Cancelled Cell Count and which cells were reset.
  • Cancel a Sheet Scorecard Stops scorecard calculations in progress on a sheet. Limit it with Row Indices or Step Ids, and read the Cancelled Count.
  • Close a Trace Marks a trace as finished and returns its Closure details.
  • Create a Column Adds a column to a Smart Table sheet with a Title and a Type. Use Config for type-specific settings and Dependencies to link it to other columns.
  • Create a Dataset Group Creates a dataset group called Name, optionally inside a Folder ID and with External Ids attached. The group and its first Dataset are returned.
  • Create a Dataset Version from a File Builds a new dataset version from an uploaded CSV or JSON file. Pass the File Name and the File Content Base64, and get back the Dataset ID.
  • Create a Dataset Version from Filters Snapshots matching request logs into a new dataset version. Choose logs with Filters and Logic, free-text Q, or explicit Request Log Ids.
  • Create a Draft Dataset Version Opens an editable draft for a dataset group. Copy an existing version into it with Source Dataset ID, and receive the Draft Dataset ID.
  • Create a Folder Makes a folder called Name, nested under a Parent ID if given. Attach External Ids to track it from other systems.
  • Create a Prompt Label Puts a release label called Name on one Prompt Version Number of a prompt, so that version can be fetched by the label.
  • Create a Sheet Adds a tab to a Smart Table. Use Title to name it, Index for its display position, and Source to seed it with data.
  • Create a Sheet Operation Starts a recalculation on a sheet. Limit it with Column Ids, Row Ids or Statuses, and use a Confirmation Token to approve a large run.
  • Create a Sheet Version Saves a snapshot of a sheet. Give it a Name, or restore from a Source Version ID while creating it.
  • Create a Skill Collection Creates a skill collection named Name, with Files, a Provider and a Commit Message. Use Folder ID to organize it.
  • Create a Table Creates a Smart Table with an optional Title, inside a Folder ID. It starts with a default sheet unless you turn off Create Default Sheet.
  • Create a Tool Registry Registers a tool from a Name plus a Tool Definition in OpenAI function-calling format. Add a Description, Folder ID and Commit Message.
  • Create a Tool Variable Stores an environment variable for a registered tool under a Key, together with its Value.
  • Create a Tool Version Adds a new version to a registered tool from a Tool Definition. Supply Code for the function body, plus Language and Commit Message.
  • Create a Workflow Creates a workflow from a list of Nodes. Name it with Name, place it in a Folder ID, or add a version to an existing workflow with Workflow ID.
  • Create a Workspace Variable Stores an environment variable for the whole workspace under a Key, together with its Value.
  • Create an Evaluation Pipeline Sets up an evaluation pipeline for a dataset group. Add Columns, pin a Dataset Version Number, and supply Code for custom scoring.
  • Create Spans in Bulk Sends many tracing spans in one request. Turn on Close After to close all trace IDs in the batch, and check Rejected Span Ids for any refused.
  • Delete a Column Deletes a column of a sheet and reports the new Version.
  • Delete a Prompt Label Removes a release label from a prompt version.
  • Delete a Sheet Removes a sheet from a Smart Table and reports a Message.
  • Delete a Sheet Scorecard Removes the scorecard defined on a sheet and reports Success.
  • Delete a Table Removes a Smart Table and reports a Message.
  • Delete a Tool Variable Removes an environment variable from a registered tool and reports Success.
  • Delete a Workspace Variable Deletes an environment variable from the workspace and reports Success.
  • Delete an Evaluation Column Deletes one column from an evaluation pipeline and reports Success.
  • Delete an Evaluation Pipeline Deletes an evaluation pipeline and reports Success with a Message.
  • Delete an External ID from a Dataset Group Deletes one outside-system reference from a dataset group. Pair a Source with an External ID to choose the one to remove.
  • Delete an External ID from a Folder Clears the outside link of a folder, matching one pair of Source and External ID.
  • Delete an External ID from a Prompt Template Clears one outside identifier from a prompt template. Provide its Source and External ID.
  • Delete an External ID from a Skill Collection Detaches a skill collection from an outside system, matched on Source and External ID.
  • Delete an External ID from a Tool Registry Deletes the External ID of a registered tool under a Source.
  • Delete an External ID from a Workflow Removes the reference an outside system holds for a workflow, matched on Source and External ID.
  • Delete an External ID from an Evaluation Pipeline Unlinks an evaluation pipeline from a record in another system, using Source plus External ID.
  • Delete Evaluation Pipelines by Name Deletes evaluation pipelines by their Report Name in one call.

AWS Comprehend modules

  • Attach a Resource Policy to a Model Attaches a JSON Policy to a custom classifier or recognizer version so another AWS account can import it. Use Policy Revision ID when replacing an existing policy, so a concurrent change is not overwritten. Output is the new Policy Revision ID.
  • Batch Detect Dominant Language Finds the dominant language in each of 25 texts at most, in one request. A text needs 20 characters minimum and 5 KB maximum. Results keep the order you sent.
  • Batch Detect Entities Scans up to 25 texts written in the same Language for entities. Output includes the Result List, plus an Error List for texts that failed.
  • Batch Detect Key Phrases Pulls the key phrases out of several texts in one call, all sharing a single Language. Add up to 25 Texts of 5 KB each, then read Result List in the original order.
  • Batch Detect Sentiment Rates the sentiment of every text in a list sharing one Language, 25 texts at most. Check the Error List for texts that could not be scored.
  • Batch Detect Syntax Tags the words of several texts with their parts of speech. Syntax analysis covers English, Spanish, French, German, Italian and Portuguese, which are the choices for Language.
  • Batch Detect Targeted Sentiment Judges the sentiment toward each named entity inside up to 25 texts. Targeted sentiment currently supports English only, so the Language is always English.
  • Check Whether a Text Contains PII Entities Checks up to 100 KB of Text for personal information and reports which kinds appear as Labels. PII labeling supports English and Spanish, selected with Language.
  • Classify a Document Sends text or a document to a trained classifier Endpoint and returns the Classes or Labels it assigns. Use either Text or Document Bytes, and Document Reader Settings to control how PDF and image content is read.
  • Create a Dataset Adds a training or testing dataset to a flywheel. Use Dataset Name and Input Data to give the labeled files, and Dataset Type to say whether it trains or tests. You get the Dataset ARN.
  • Create a Document Classifier Starts a custom classifier on labeled Training Data, read through the Data Access Role ARN. Use Mode to allow one class or several labels per document. You receive the Document Classifier ARN.
  • Create a Flywheel Sets up a flywheel that keeps a model improving from new data. It stores datasets and statistics at the Data Lake S3 URI. Use Active Model ARN for an existing model, or Model Type and Task Settings for a new one.
  • Create an Endpoint Provisions capacity for a trained model. Use Inference Units to size it, at 100 characters per second each and billed while it runs, and Model ARN or Flywheel to say what it serves.
  • Create an Entity Recognizer Begins training a recognizer for your own entity types from Training Data, read with the Data Access Role ARN. Use Version Name to label this version. Output includes the Entity Recognizer ARN.
  • Delete a Document Classifier Deletes a custom classifier. Only classifiers in the Trained or In Error state qualify, and not while an endpoint uses them.
  • Delete a Flywheel Removes a flywheel. It cannot be deleted while an iteration is running or an endpoint relies on it.
  • Delete a Resource Policy Deletes the policy attached to a custom model version, found by its Model ARN. Use Policy Revision ID to delete only when the policy is still at that revision.
  • Delete an Endpoint Removes a model endpoint. A model can only be deleted after all of its endpoints are gone.
  • Delete an Entity Recognizer Deletes a custom recognizer that is Trained or In Error, provided no endpoint is serving it.
  • Describe a Dataset Looks up a single dataset of a flywheel and shows its Dataset Properties.
  • Describe a Document Classification Job Reports how an asynchronous classification job is progressing, as Job Properties.
  • Describe a Document Classifier Reads one custom classifier version and its training state from the Classifier Properties.
  • Describe a Dominant Language Detection Job Looks up a language detection job that is running or finished, giving back its Job Properties.
  • Describe a Flywheel Reads the configuration and status of a flywheel, summarized as Flywheel Properties.
  • Describe a Flywheel Iteration Fetches the Iteration Properties of one training iteration of a flywheel, found with Flywheel and Iteration.
  • Describe a Key Phrases Detection Job Pulls the Job Properties of a key phrase extraction job, whether it is still going or done.
  • Describe a PII Entities Detection Job Returns Job Properties for a personal information scan, covering its progress.
  • Describe a Resource Policy Reads the policy of a custom model version, found by its Model ARN. Output includes the Policy text and its Policy Revision ID.
  • Describe a Sentiment Detection Job Checks on a sentiment analysis job and fetches its Job Properties.
  • Describe a Targeted Sentiment Detection Job Checks on a job that scores sentiment toward named entities, giving its Job Properties.
  • Describe a Topics Detection Job Gets the Job Properties of a topic modeling job that is running or finished.
  • Describe an Endpoint Fetches the current state of a model endpoint, returned as Endpoint Properties.
  • Describe an Entities Detection Job Retrieves the Job Properties for an entity detection run, which tell you whether it has finished.
  • Describe an Entity Recognizer Returns the Recognizer Properties of one custom recognizer version.
  • Describe an Events Detection Job Shows where an events detection job stands, with the Job Properties of the run.
  • Detect Dominant Language Identifies the language of a text of at least 20 characters, up to 100 KB. Output lists each candidate under Languages.
  • Detect Entities Finds entities in a piece of Text or in a document sent as Document Bytes. Use Language with the built-in model, or Custom Endpoint to find your own entity types.
  • Detect Key Phrases Extracts the main phrases from a single text under 100 KB, written in the chosen Language. Output is a list of Key Phrases.
  • Detect PII Entities Locates personal information in up to 100 KB of Text, with Language limited to English or Spanish. Output is a list of Entities.
  • Detect Sentiment Scores one text of up to 5 KB, such as a message body, review or comment from an earlier step. Output includes the Sentiment and its Sentiment Score.
  • Detect Syntax Tags each word of a text with its part of speech, within a 5 KB limit. Supported languages are English, Spanish, French, German, Italian and Portuguese. Syntax Tokens list the words.
  • Detect Targeted Sentiment Judges sentiment toward each entity in one English text, such as a product review naming several items, with a 5 KB ceiling. Entities carry their own sentiment.
  • Detect Toxic Content Scores up to 10 Text Segments for toxicity, each up to 1 KB and 10 KB in all. Toxicity detection currently works for English only, and results follow the order sent.
  • Import a Model Brings a classifier or recognizer version from another account into yours, once that account has allowed it with a resource policy. Use Model Name and Version Name to label the copy, and Model KMS Key to encrypt it. Output is the Model ARN.
  • List Datasets Lists the datasets of your flywheels, each as its own result with a Dataset Name, Dataset Type and Number of Documents. Use Filter to limit by status, type or creation date, and Flywheel to see one flywheel only.
  • List Document Classification Jobs Shows the classification jobs you have run, naming the classifier or flywheel behind each. Use Filter on the Job Name, Job Status or submit time, one at a time.
  • List Document Classifier Summaries Gives one summary per classifier name instead of per version, showing the Number of Versions and the Latest Version Status. Use Limit to cap the results of a run.
  • List Document Classifiers Returns every trained or training classifier version with its Version Name, Language Code, Status and Mode. Filter by Classifier Name, Status or when it was submitted to find one.
  • List Dominant Language Detection Jobs Retrieves your language detection jobs. Use Filter on Job Name or Job Status to find a particular run, and Limit to return fewer results.
  • List Endpoints Lists model endpoints with their Status, Current Inference Units and Model ARN. Use Filter to show only those attached to one model, in one state, or created in a date range.

Explore alternative integrations

There are other apps[9] supported by WEXTL that can be paired with AWS Comprehend and PromptLayer integrations. Pick any from the list below if the current combination isn't the one you need.

Automate AWS Comprehend and PromptLayer on WEXTL®

Claim your 3-day trial to build AWS Comprehend with PromptLayer integration and access every WEXTL® feature.

Cancel anytime.

Frequently asked questions

Common questions about connecting AWS Comprehend and PromptLayer.

How do I connect AWS Comprehend and PromptLayer?

Connect your AWS Comprehend and PromptLayer accounts once, pick a trigger in one app and an action in the other, then map the fields so data flows automatically between them.[3]

What can I automate between AWS Comprehend and PromptLayer?

Example: when the "Watch Events" trigger in PromptLayer fires, WEXTL can "Attach a Resource Policy to a Model" in AWS Comprehend. AWS Comprehend has 86 actions (including Attach a Resource Policy to a Model, Batch Detect Dominant Language, and Batch Detect Entities). PromptLayer has 144 actions (including Add a Request Log to a Draft Dataset, Add a Trace to a Draft Dataset, and Add an Evaluation Column). Add filters and transforms between steps when you need them.[1]

Can AWS Comprehend trigger actions in PromptLayer, and PromptLayer in AWS Comprehend?

Yes. The integration works in both directions. Use the triggers of each app to start a workflow and the actions of the other app to update it.[2]

Do I need to write code to integrate AWS Comprehend and PromptLayer?

No. AWS Comprehend-to-PromptLayer automations are built visually on the canvas. You can optionally add custom JavaScript with Functions when you need advanced logic.[4]

Does AWS Comprehend integrate with PromptLayer in real time?

Yes. Trigger-based automations start the moment AWS Comprehend (or PromptLayer) fires a new event. Webhook-backed apps run within seconds, and polling-only apps re-check on a schedule you control.[7]

How long does it take to set up a AWS Comprehend + PromptLayer integration?

A first automation typically takes 5–10 minutes: connect the credential of each app once, drop a trigger + action onto the canvas, map the fields, and turn the workflow on.

Do I need a paid plan to connect AWS Comprehend with PromptLayer?

You can build your AWS Comprehend + PromptLayer automation on a 3-day trial with every feature unlocked. Cancel anytime.[8]

References

List of sources used to gather information about the AWS Comprehend and PromptLayer integration.

  1. AWS Comprehend and PromptLayer integration source code, module specs and credentials implementation.
  2. Our AWS Comprehend and PromptLayer integration documentation, structured input and output parameters, scopes, and authentication methods.
  3. Official vendor API documentation for AWS Comprehend and PromptLayer, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
  4. WEXTL® visual workflow builder, anonymized data from our technical support team.
  5. AWS Comprehend integration information
  6. PromptLayer integration information
  7. WEXTL® Scheduling
  8. WEXTL® Pricing and Trial
  9. WEXTL® Apps Library

How we write our apps documentation

Explore how WEXTL® crafted AWS Comprehend and PromptLayer integration page documentation. Used sources, the role of AI, and how the team validates the result.

Explore AWS Comprehend and PromptLayer, or get started