AgentX and PromptLayer Integration
Demonstration of how apps are integrated in WEXTL workflow builder[4]
Build ai workflows between AgentX and PromptLayer on a visual canvas. Set up data fields sync between apps once and let data flow when events come automatically. Integration will work without code and your team will see the workflow inside WEXTL® builder.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
Learn about AgentX and PromptLayer
Detailed info you need to know about AgentX and PromptLayer integrations in WEXTL. Explore which modules apps support and how you connect them.
AgentX

Hosted AI agents for starting conversations, sending messages and reading traces.[5]
PromptLayer

Manage prompt templates, log and search LLM requests, run workflows and evaluations.[6]
How to connect AgentX to PromptLayer
Set up your AgentX and PromptLayer integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect AgentX and PromptLayer
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected AgentX and PromptLayer nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between AgentX and PromptLayer. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between AgentX and PromptLayer work in WEXTL?
WEXTL exposes actions and triggers for AgentX 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 triggersAgentX 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.
AgentX modules
- Create a Conversation Opens a new conversation on one of your AgentX agents. Set Type to Chat, Search or Ecommerce to decide how the agent will handle it.
- Create Speech Turns Text into spoken audio through the AgentX voice API. Set Language, Gender, Speed or Accent to shape the voice, and turn on Robot for a mechanical tone.
- Create Speech Stream Synthesizes Text as a streamed audio response from the voice API, so playback can begin before the whole clip exists. Use Language, Gender, Speed or Accent to adjust the voice.
- Delete a Conversation Context Clears the memory context stored for a conversation held with an agent in AgentX.
- Get a Conversation Reads one conversation of an agent together with its messages. Create a Conversation or List Conversations gives you the conversation to read.
- Get a Message Trace Looks up the prompt trace linked to a message by its Message ID. Pass the result to Get a Trace for the full detail.
- Get a Trace Looks up the detailed prompt trace for a Trace ID, the record of how an agent built its answer. Get a Message Trace finds the ID for a given message.
- Get an Agent Fetches the details and current configuration of a single agent in your AgentX account.
- Get Your Profile Reads the profile of the user who owns the API key this credential uses, which shows which AgentX account a credential belongs to.
- List Agents Finds every agent your API key is allowed to use in AgentX, each coming back as a separate result.
- List Conversations Collects the conversations held with one agent, ready to read or continue in later steps.
- Make an API Call Makes an authorized free-form request to the AgentX REST API with your saved credential.
- Send a Message Posts a Message into an existing conversation and returns the Status and Response of the agent. Use Agent Mode to switch between Chat and Search, and Context to set how much history counts, with 0 meaning as much as possible.
- Send a Message and Wait Sends a Message and holds until the agent finishes the whole reply, buffered up to 10 MiB or 180 seconds. Use Context to cap how much earlier conversation counts.
- Send a Message and Wait for JSON Sends a Message, optionally with Attachments or Audio, and waits until the agent completes a JSON reply. Set Context to restrict the history the agent draws on.
- Send a Message with an Attachment Uploads a File into a conversation for the agent to read. Add a Message to go along with the file, and use Context to control how much earlier chat is considered.
- Send Speech Recognition Submits an audio Sample (Base64) for transcription under a Call ID and Seq ID. AgentX posts the recognized text to your Callback URL, and you can leave Language empty for auto detection.
- Update a Conversation Context Seeds a conversation with earlier user and assistant Messages as memory, without triggering a chat turn.
- Update a Message Vote Sets the Vote on a message, found by its Message ID. Use Agent and Trace ID to tie the vote to the exchange it rates.
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with AgentX and PromptLayer integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting AgentX and PromptLayer.
References
List of sources used to gather information about the AgentX and PromptLayer integration.
- AgentX and PromptLayer integration source code, module specs and credentials implementation.
- Our AgentX and PromptLayer integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for AgentX and PromptLayer, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- AgentX integration information
- PromptLayer integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted AgentX and PromptLayer integration page documentation. Used sources, the role of AI, and how the team validates the result.