Discussions

Ask a Question
ANSWERED

Change Menu Font Size

How can I change the font size menu bar items / apps? Optionally, how can I add CSS to style the portal?
ANSWERED

File detail - API Response and Webhook event contains outdated file name

When requesting data for a file with a given ID, the API response contains outdated filename information. Meaning that when a filename is changed through the Copilot web interface, the API and webhook event does not contain the updated information. For example, GET <https://api.copilot.com/v1/files/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX> returns the following response: ```Text JSON { "channelId": "XXXXXXXXX/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "createdAt": "2024-03-27T00:17:13.172432669Z", "creatorId": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "downloadUrl": "XXX", "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "linkUrl": "", "name": "original name.csv", "object": "file", "path": "TEST PATH/original name.csv", "size": 782596 } ``` Even though the current filename is **TEST NEW NAME.csv**, the old **original name.csv** is returned. A similar result is posted to the registered webhook endpoint when a filename is updated: ```json JSON Copilot Event :: file.updated { channelId: 'XXXXXXXXX/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', createdAt: '2024-03-27T00:17:13.172432669Z', creatorId: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', linkUrl: '', name: 'original name.csv', object: 'file', path: 'TEST PATH/original name.csv', } ``` [block:image] { "images": [ { "image": [ "https://files.readme.io/38d974d-image.png", null, null ], "align": "center", "border": true, "caption": "Screenshot of Copilot web interface" } ] } [/block]
ANSWERED

Issue with Vercel deployment for a custom app

I am trying to deploy on vercel with the instructions provided but it seems it keeps failing ` Creating an optimized production build ... ✓ Compiled successfully Linting and checking validity of types ...Failed to compile../node_modules/copilot-node-sdk/codegen/api/core/CancelablePromise.ts:26:5Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher. 24 | 25 | export class CancelablePromise<T> implements Promise<T> {> 26 | #isResolved: boolean; | ^ 27 | #isRejected: boolean; 28 | #isCancelled: boolean; 29 | readonly #cancelHandlers: (() => void)[];Error: Command "yarn run build" exited with 1` This is with the main branch of the custom app github repo
ANSWERED

How to Chat with Copilot from API?

How to Chat with Copilot from API? As the API mentioned in the Introduction section of the API Reference seems to be not working. It has incomplete details such as json request body and resource is missing in the endpoint. Please find below details the API provides. curl -X POST -H "Content-Type: application/json" -H "X-API-KEY: <Replace this with your API Key>" --data '<Replace this with a json request body as needed>' <https://api.copilot.com/v1/><Replace this with a resource>\` Please assist.
ANSWERED

Using API

how can I use my API key for chating wih copilot
ANSWERED

Embedding Squarespace Web Pages

I love the idea of using the custom links to embed content to create extra pages within the portal. It feels like there should be a way to embed a web page from my web site into the portal, but I cannot get this to work. I create a page using squarespace, publish it, then try to share the link within copilot but it keeps saying it can't connect. If I create a landing page within mailchimp and share the link to copilot, it works flawlessly. But I would much rather utlizie this function within my web site on squarespace. Is there any guidance anyone can offer me to help me achieve this?
ANSWERED

How do I get my API key to use in Zapier or Make?

I'm trying to set up automations on both platforms to determine which one I want to use, but I can't find where to get my API key. Please advise, thanks.
ANSWERED

How to set up a sync between Copilot and Dropbox?

How to set up a sync between Copilot and Dropbox? Use Zapier/Make or make a Custom App? HELP!!
ANSWERED

Can I set up an automation just for clients that self-serve sign up?

I want to send a custom welcome message to clients that self-serve sign up but not to clients that were invited by my team. Can I do that?
ANSWERED

Checking if a folder exists

Is there a way to check whether a folder has already been created or exists?