Ask technical questions about the Front Platform
Recently active
Hi - As of now, we have a Customer Account plugin (which pulls all the info from our database) which can be accessed via the Side Panel but we’re finding we consistently need to navigate further into the Customer Account in order to action a very common request from our Customers. I would like to know if Front is able to accommodate a custom dashboard plugin that displays the necessary tools to action these very common requests from our Customers. Thank you.
We have an app added to Front, and many Front clients can install and start using it. I have set up Application Webhooks for this app. For the app to function properly, our clients need to contact us to set up a corresponding account in our system. As part of the setup process, the user would authorize us through the OAuth flow. When we publish the app, we have a concern that a random user might install the app and, because the app has webhooks enabled, we may start receiving events. In the Front documentation, we have seen the following section in the Webhooks chapter:“OAuth is required for published appsIf your webhook is part of an app that you are publishing on our App Store, you must add OAuth to the app so that customers can authorize that Front events be sent to your webhook from their instance.” We want to make sure we understand correctly that only those instances which have authorized the app through OAuth will send events via webhook.Thank you for your assistance. Best regar
Hey team, How can I use front API to reply to emails using templates which I created in Front ?
Hey my goal is to save the attachment in the inbound message and save it in my google drive.When I am using the link “https://api2.frontapp.com/download/fil_2lrutl53”, it’s giving error: {"_error":{"status":401,"title":"Unauthenticated","message":"JSON Web Token error"}}To solve this I am using this API endpoint:https://dev.frontapp.com/reference/download-attachment I am getting below response: Is there anything I am doing incorrectly. Also if there is any other alternate approach to achieve my goal please do let me know. Thanks
I am encountering an issue while testing Webhook integration. Despite following the related documentation, I am unable to successfully create a webhook.To facilitate local testing, I am using ngrok. I have set up a path to receive payloads from the webhook and configured it to return the x_front_challenge, 200, {"Content-Type": "text/plain"} as suggested in the documentation. However, I still receive a "Webhook verification failed" error.Here is the relevant portion of my code:I am not encountering any errors within the function itself, so I suspect the issue may be related to the return statement. Any assistance in resolving this would be greatly appreciated.(I am working on Odoo/Python btw)Thank you.
Hello there, I’m not sure if the exposed API has a route that triggers the typing indicator animation seen when typing a messaging in the Chat UI. I’ve seen requests made to `precog/continue/message` that trigger the rendering of the indicator, but I’m not 100% sure. Would love to know if anyone has run into this and how you’ve worked around it. Thanks!
Hello there!Is there any other solution, except for Rules, to update contact custom fields after Form* submission? I need to pass the form’s Extra Fields values to a contact. * - https://help.front.com/en/articles/2024
When we get a new email with an account we have never seen before and then create the account using the API, why are the contacts not automatically added to this account? We thought that front would sync these automatically based on the email domain? I can see that the account is created and when I select “New Account” I can see the account we created via the API but the contact is not synced. Then in other cases it sometimes works...
Trying to upsert a front account using the sdk. Its (like most of the API I have to say extremely cumbersome). This is my code snippet: async function upsertFrontAccount(validatedAddress: any): Promise<any> {try {return await sdk.createAccount({name: validatedAddress.company || "Unknown Company",domains: [validatedAddress.emailDomain],custom_fields: {Adresse: validatedAddress.address,PLZ: validatedAddress.zip,Stadt: validatedAddress.city,Land: validatedAddress.country || "Germany",Umsatzsteuernummer: validatedAddress.vatId,Website: validatedAddress.url,},});} catch (error) {console.log("ERROR ON UPDATE", error.res);if (error.status === 409) {try {await sdk.updateAccount({account_id: `alt:domain:${validatedAddress.emailDomain}`,},{name: validatedAddress.company || "Unknown Company",domains: [validatedAddress.emailDomain],custom_fields: {Adresse: validatedAddress.address,PLZ: validatedAddress.zip,Stadt: validatedAddress.city,Land: validatedAddress.country || "Germany",Umsatzsteuern
Hello, we’d like to learn when the best time is to send emails to various people that we’ve communicated with before. Does anyone have tips or scripts on how to do that?All I can think of is to do the following; any other suggestions?Search for all messages for each email address Iterate through each message: “Get message seen status” (which seems to show only the first seen - not sure if there’s any way to see every time it was seen?) Get the message created_at (date at which the message as been sent or received) Compare “seen” and “created_at” to address Apple mail and similar proxy views (i.e. “seen” within 1 minute of open) Disregard or weigh those lower. Then finally process all that info to somehow figure out the best send time by somehow weighting “first seen” in relation to day/time and frequency across all messages with a person. Not sure best way to “math that out” so to speak? Does that sound about right or is there any better way to do it, or somehow involve AI if
As an admin, can I connect O365 email channels (private inboxes, shared inboxes, and distro lists alike) to Front programmatically through the API without touching the Front UI at all?Use case: a customer is migrating from Gmail to Outlook and making a domain change to all their email addresses, and they’re looking for the best way to reconnect all these channels to Front. If it’s not possible to do this programmatically, will they have to re-connect each channel by hand?
Hey everyone! I'm currently searching for a developer who can assist me in integrating Airable with Front. Any leads or recommendations would be greatly appreciated. Thanks in advance! 🙏
Hello Team, We are currently implementing the OAuth flow in our application to support multiple Front users. Our application uses a common redirect URL to receive the OAuth token after the user grants permission. However, we are facing a challenge in identifying to which user's request the token was sent. Could you please advise on how to correctly identify the user associated with each token received through the common redirect URL?Thank you for your assistance. Regards,Karthik Vishwambarkvishwambar@amgine.ai
Hello,I am looking to perform a migration between Front and HubSpot, and I am trying to retrieve the attachments from a conversation. I have not been able to find the ID of the attachments in order to then make a GET request and download them.Here is the endpoint provide by front to download attachment : https://dev.frontapp.com/reference/download-attachment Could someone provide me with information on this?Best regards
Hey everyone! After a user approves Front for OAuth with our app, is there a way to get:The individual user ID who actually did the OAuth? Access to the individual inbox itself?Thank you!
‘A future update to Front's OAuth implementation will allow you to specify the permissions scopes that you need’I need scope in OAuth token to get private resourcesCan you confirm how to add scope for private in OAuth
Hello, I need to write a script that will download attachments (specifically Excel spreadsheets) from Front shared inboxes. I have the API key/ InboxID however AI isn’t much help on the actual process of it. If anyone could point me to some resources I would appreciate it, thank you.
Hello everyone,We are planning to create custom fields for both contacts and dynamic objects and import data through API to get the most up to date data in Front. So far so good. Now we were wondering if it’s possible to send data back as well. So let's say a certain custom field is manually adjusted/updated in Front, is there a way to send that updated data back? We had hoped to use the webhooks for that but it seems like the events for webhooks do not include events for that purpose.Also, I believe that until a few weeks ago there was the possibility to use webhooks in rules? I don't see that option anymore. Can anyone confirm or am I mixing things up?
I recently got an error calling the `messages` api but the error was truncated. Is there a place I can see the full error? [2024-05-27 22:35:20] production.ERROR: HTTP request returned status code 400:{"_error":{"status":400,"title":"Bad request","message":"Body did not satisfy requirements","details":["body.to: should (truncated...) {"exception":"[object] (Illuminate\\Http\\Client\\RequestException(code: 400): HTTP request returned status code 400:{\"_error\":{\"status\":400,\"title\":\"Bad request\",\"message\":\"Body did not satisfy requirements\",\"details\":[\"body.to: should (truncated...)
Hi all,I can’t see, inside the API Reference, a way to list messages based on specific criteria such as from/to adresses, dates, or even a Conversation IDIt seems Events could be used for this intent but I can’t find a way to filter the events I list based on the type = message (seems type can’t be used as query filter ‘q’)…Is there any way you can think of to identify whether or not, a message has been received:Within 24hours From a specific email address Containing a specific keyword inside the subject or body oThanks you so much for your help guys !Cheers,Sacha
Hi all,I’m building an API integration that requires data from the “quotes” in comments. I’m not sure if that’s the right Front technical term for them. The visual objects in comments that are created when you highlight text in a message and click “comment”. This:I need to be able access the text of the quote (e.g. “We’ll pass...”), and get a reference to the message the quote is from and it’s sender (e.g. “Su ____”, and their email, etc.). I’ve looked pretty extensively at what’s included in the response to the "Get comment" endpoint, and what’s linked to from there, as well as perusing the other API endpoints. As far as I can tell, these “quotes” are not represented in the API at all. Even the `body` of the comment object doesn’t include anything about the quote, it just says “#crm Testing adding notes to the CRM, please ignore!”.Is it the case that quotes aren’t represented in the API? Is there any way I can access this data programmaticly?Thanks in advance!James
Hi there, Is it possible to get a list of contacts by a custom field value? I’ve got a scenario where I need to apply some updates to contacts based on an account number, which we stamp on the contacts as a custom field. In our internal systems we have no idea which contacts in Front are linked with which account numbers as our internal systems allow a contact to exist against multiple accounts/branches, in Front however the contacts are stamped with a single account number, which users can edit in Front.
Good Morning all, I have been developing performance metrics based off the analytics exports for activity, and have encountered a use case I wish to accommodate. I want to know the amount of time between a snooze expiring and action being taken on a case. the activity dataset currently holds when a snooze was initiated, but as neither the expiry date/time or length of snooze. Is data on snooze expiry/length stored elsewhere? I’d appreciate any assistance on this, Chris.
I’m new to front and new to apis so forgive me if this is simple but any help would be greatly appreciated. We use an ITSM tool called Autotask and I’m trying to create dynamic variables in front that recognise autotask ticket numbers (T20240518.1010) and then using the autotask API pull through details about the ticket. I’ve got the connection to autotask working.The difficulty I’m facing is trying to get the target URL to work. It’s thishttps://ww16.autotask.net/Mvc/ServiceDesk/TicketDetail.mvc?workspace=False&mode=0&TicketID=TICKETIDUnfortunaltey TICKETID isn’t the ticket number mentioned above, it’s a separate 6 digit number.So….I’m creating a dynamic variable that uses the autotask API to get the ticket ID when inputting the ticket number.When I use postman with a known ticket number in the API endpoint (not sure if that’s correct terminology)https://webservices16.autotask.net/atservicesrest/v1.0/tickets/query?search={ "IncludeFields": ["id"], "filter":[{"op":"eq","field":
Hi.I’m trying to embed an app with react-router as a sidebar plugin, but navigation doesn’t work because of iframe’s sandbox prop (absent allow-top-navigation-by-user-activation?).Is there any way to edit sandbox prop? Thank you in advance.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.