Cody AI and OpenRouter Integration
Demonstration of how apps are integrated in WEXTL workflow builder[4]
Keep Cody AI and OpenRouter matched by integrating their events and actions. When ai events happen in Cody AI, update the OpenRouter 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 Cody AI and OpenRouter
Detailed info you need to know about Cody AI and OpenRouter integrations in WEXTL. Explore which modules apps support and how you connect them.
Cody AI

AI assistants that answer questions from your own documents.[5]
OpenRouter

A unified API for hundreds of AI models from many providers.[6]
How to connect Cody AI to OpenRouter
Set up your Cody AI and OpenRouter integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect Cody AI and OpenRouter
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 Cody AI and OpenRouter 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 Cody AI and OpenRouter. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between Cody AI and OpenRouter work in WEXTL?
WEXTL exposes actions and triggers for Cody AI and OpenRouter 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.
OpenRouter triggersCody AI actions
OpenRouter modules
- Activate a Private Endpoint Starts routing traffic to a draft private endpoint that has already passed Validate a Private Endpoint. Returns its ID, Status and Provider Name (management key only).
- Add Keys to a Guardrail Assigns up to 500 API Keys to a guardrail. A key holds at most one guardrail, so assigning replaces any guardrail the key already has. Returns the Assigned Count (management key only).
- Add Members to a Guardrail Assigns up to 500 organization Members to a guardrail. The output reports the Assigned Count (management key only).
- Add Workspace Members Puts up to 100 organization Members into a workspace. Output has the Members Added total along with their Memberships (management key only).
- Copy Secrets to an Intern Copies 1 to 100 workspace Secrets onto an intern in your workspace. A secret with the same name on the intern is replaced. Returns the Copied Secrets (Intern API access only).
- Create a Batch Submits many requests of one Endpoint type to a Model so they run together in the background. Use Completion Window to set how long the provider has to finish.
- Create a BYOK Key Adds a Provider Key from your own provider account to a workspace. Use Allowed Models to restrict which models may use it and Fallback Key to try it only after the other keys fail (management key only).
- Create a Completion Asks a Model to reply to a chat conversation. Use Fallback Models to name backups, Tools to let the model request function calls, and Response Format for a structured reply.
- Create a Guardrail Creates a guardrail from a Name that limits which models and providers may be used and how much may be spent. Fill Spending Limit (USD), Allowed Providers or Ignored Models to set those limits (management key only).
- Create a Message Gets a reply from a Model for Messages written for the Anthropic API. Use System Prompt for instructions, Max Tokens to cap the reply length, and Thinking to let the model reason first.
- Create a Preset from a Chat Request Saves a chat request as a preset under a Preset Slug, or as a new version when the slug already exists. OpenRouter does not store the Messages from the request.
- Create a Preset from a Message Request Keeps a message request as a preset keyed by Preset Slug, where an unused slug starts a preset and a used one adds a version. Use System Prompt to store instructions with it.
- Create a Preset from a Response Request Turns a response request into a preset keyed by Preset Slug. Use Instructions and Reasoning Effort to keep those settings. The Input text is not stored.
- Create a Private Endpoint Creates a draft private endpoint that serves a Model through a Provider, using your Upstream Model ID. Use Base URL for the address of your deployment and Idempotency Key to make a retry safe (management key only).
- Create a Reranking Ranks the Documents against a Query using a rerank Model. Use Top N to return only the best matches.
- Create a Response Generates a model response from text Input and a Model. Use Instructions for system-level guidance, Reasoning Effort to set how much the model thinks, and Max Output Tokens to cap the length.
- Create a SCIM Group Mapping Links a SCIM Group synced from your identity provider to a Workspace and gives its members a Role of Admin or Member (management key only).
- Create a SCIM Sync Job Starts a directory sync and reports its Status, then totals for Synced Groups and Deleted Groups (management key only).
- Create a System One Request Evaluates the State content against your Questions with a System One Model. Output includes the Answers.
- Create a Transcription Turns an audio file or link into text with a speech-to-text Model. Fill Audio File or Audio URL, choose a Language, and enable Label Speakers to tag each word with its speaker.
- Create a Transcription from Audio Link or Data Converts an audio link or base64 Audio Data into text. Add Key Terms to listen for, Timestamp Detail for the Verbose format, and an Audio Format when sending raw data.
- Create a Video Starts a video generation job with a video Model and returns its Job ID. Use Prompt to describe the video, Reference Images to guide it and Previous Job ID to edit or extend a finished job.
- Create a Workspace Creates a workspace from a Name and a Slug. Use Default Text Model and Default Image Model to preset which models its requests use (management key only).
- Create an API Key Creates an API key from a Name and reveals the key value one time only. Use Spending Limit (USD) with Limit Reset to cap spend, and Expires At to give the key an end date (management key only).
- Create an External User Registers a User ID of 1 to 512 characters so usage can be tracked against that end user. Output has Active, Created At and Updated At (management key only).
- Create an Image Generates images from a Prompt with an image Model. Use Reference Images to guide the result and Max Response Size (bytes) to raise the 10 MB default.
- Create an Observability Destination Adds a trace destination from a Name, a Type such as Langfuse or Datadog, and a Config JSON object. Use Sampling Rate to forward only a share of requests and Privacy Mode to leave prompts out (management key only).
- Create Embeddings Turns the Input texts into embedding vectors with an embeddings Model, giving one vector per text in the same order. Use Dimensions to set the vector length and Encoding Format to choose the representation.
- Create Generation Feedback Reports what went wrong with a past generation, using its Generation ID and a Category such as Latency or Billing. Add a Comment of up to 1,000 characters for detail (management key only).
- Create Speech Turns Text into spoken audio with a speech Model, giving back the audio as a file. Use Instructions for tone or pacing, Speed for the playback rate and Audio Format to change the encoding.
- Deactivate an External User Deactivates a registered end-user ID that was added for tracking (management key only).
- Delete a Batch Deletes a batch that has completed, failed, expired or been cancelled.
- Delete a BYOK Key Removes a provider key you brought to OpenRouter and marks it as deleted (management key only).
- Delete a File Deletes an uploaded file, which cannot be undone. Use Provider to delete it from a provider account with your own key, and Workspace ID for a file in another workspace.
- Delete a Guardrail Removes a guardrail that limits models, providers or spend (management key only).
- Delete a Private Endpoint Deletes a private endpoint. Turn on Only If Still a Draft to refuse deleting one that was ever activated (management key only).
- Delete a SCIM Group Mapping Removes the link between a directory group and a workspace. Choose Keep Members to say whether members the mapping added stay as manually managed members (management key only).
- Delete a Vault Secret Deletes a secret stored for your workspace (Intern API access only).
- Delete a Workspace Deletes a workspace. Set Confirm Default Workspace Deletion to Yes when the workspace is the default one (management key only).
- Delete a Workspace Budget Removes the spending budget of one Interval from a workspace, whether Daily, Weekly, Monthly or Lifetime (management key only).
- Delete an API Key Deletes an API key of your OpenRouter workspace (management key only).
- Delete an Intern Secret Removes one secret held for an intern in your workspace (Intern API access only).
- Delete an Observability Destination Removes a place OpenRouter sends traces to (management key only).
- Disable a Private Endpoint Pauses an active private endpoint, and it can be enabled again later. Output has its Status (management key only).
- Download a Container File Reads the content of a container file. Output has the File Data, File Name, Content Type and Size (bytes).
- Download a File Fetches the content of a file that OpenRouter created itself. Output has the File Data, File Name and Content Type.
- Download a Video Saves a completed video job as a file, using the Job ID that Create a Video returned. Use Output Index to choose which output of the job to fetch.
- Enable a Private Endpoint Starts sending traffic again to a disabled private endpoint and returns its Status (management key only).
- Get a Batch Loads a batch with its Status, adding the results after it has finished. Use Max Response Size (bytes) to raise the 10 MB default.
- Get a BYOK Key Returns the settings of one provider key you brought, such as Disabled and Fallback Key (management key only).
Cody AI modules
- Create a Conversation Starts a Cody conversation with a Name and a Bot. Use Focus Documents to keep its answers to selected documents.
- Create a Document Saves text into a Cody Folder, using a Name and the Content to store. Check Status afterwards to see if processing is done.
- Create a Document from a File Uploads a File to a Folder so Cody can read it. Add a File Name with its extension, since Cody AI reads the type from it. The result is the Key of the uploaded file.
- Create a Document from a Webpage Adds the public page at a URL to the chosen Folder as a document. The Status of the new document shows whether Cody finished reading it.
- Create a Folder Creates a Cody folder that documents can be filed into. Use Name to label it for later lookups with List Folders.
- Delete a Conversation Deletes a conversation from your Cody account.
- Delete a Document Removes a document from your Cody knowledge base.
- Get a Conversation Shows the Name and Bot Id of a conversation. Turn on Include Focus Document IDs to add the documents it is limited to.
- Get a Document Retrieves a document with its Status and Content Url. Run it to find out whether processing has finished.
- Get a Folder Reads one folder and shows its Name along with the Created At time.
- Get a Message Opens one message by Message ID, which Send a Message or List Messages supplies. Shows its Content, whether it was Flagged and its Sources.
- Get an Upload URL Requests a signed address to upload a file yourself, from its File Name and Content Type. You receive the Url to post to and the Key for the file.
- List Bots Lists the bots in your account, each with its Model. Use Keyword to match part of a bot name.
- List Conversations Collects conversation threads, optionally for a single Bot or matching a Keyword. Turn on Include Focus Document IDs to add document IDs to each.
- List Documents Returns stored documents with their Folder Id and Status. Limit the result to one Folder or Conversation, or search names with Keyword.
- List Folders Lists the folders that hold your documents. Use Keyword to search part of the name.
- List Messages Reads message history with each Content and Conversation Id. Set Conversation to follow a single thread.
- Make an API Call Makes an authorized free-form request to the Cody AI REST API with your saved credential.
- Send a Message Writes your Content to a conversation and waits for the answer from the bot. Check Failed Responding to see whether it could reply.
- Send a Message and Get a Stream URL Sends Content to a conversation without waiting for the answer. Read the reply while it is being written through the Stream Url.
- Update a Conversation Renames a conversation with Name, assigns another Bot or sets new Focus Documents. Use Clear Fields to blank values.
- Update a Folder Renames a folder in your Cody knowledge base by changing its Name.
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with Cody AI and OpenRouter integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting Cody AI and OpenRouter.
References
List of sources used to gather information about the Cody AI and OpenRouter integration.
- Cody AI and OpenRouter integration source code, module specs and credentials implementation.
- Our Cody AI and OpenRouter integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for Cody AI and OpenRouter, 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.
- Cody AI integration information
- OpenRouter integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted Cody AI and OpenRouter integration page documentation. Used sources, the role of AI, and how the team validates the result.