Comments (9)
Hi @Skaelv
thanks for the quick answer. After using an user of type admin the template property was used as expected.
So it's not possible to define custom templates and use them from the node library then?
Apart from that the documentation seems to be wrong/outdated.
body - The content of the message. Plaintext only, HTML is not supported.
body: "Simple email <b>from</b> intercom<p>New paragraph with image <img src=\"https://scontent-frt3-1.xx.fbcdn.net/v/t1.0-1/p50x50/14716302_704385333053712_3407876776789305_n.png?oh=a97c3f157913d8f2e938ca5fe070824f&oe=58D530B9\"></p>"
This was properly rendered inside the email, see
from intercom-node.
@Skaelv are there any technical difficulties preventing from implementing possibility to provide custom email templates on the API level? Seems strange to me that there are only 2 default options via API, though full functionality is available at UI side.
from intercom-node.
I'm dealing with the same problem. Any updates on this? Thanks!
I contacted their support. Currently, they only support the two default types through their API (they passed on my comment to their platform team).
Which is a shame because I wanted to switch over from SendGrid to Intercom for our platform emailing. However, I'm having problems getting basic CSS formatting in the email working.
For Intercom being such an innovative company, they really do lack in API support. I've seen multiple issues and developers talking about their emailing API. How has this issue (and others like it) been open for two years?
You guys already support custom templates on the main site, surely it's not that much harder to add it to the API?
from intercom-node.
Hey!
From the reference doc (https://developers.intercom.com/reference#admin-initiated-conversation) you can only use plain
and personal
templates.
(+ in your example above you should have an admin either in from
or in to
)
from intercom-node.
Hey @leschekfm so sorry for the late answer 😬
You are right It is not possible at the moment to create message draft and use them to send messages.
Thanks! Docs have been updated 👍
I'm closing please re-open if necessary.
from intercom-node.
Any updates on this? After all custom email templates exist
from intercom-node.
Any updates on this? Seems odd that we can't set our custom template (which we have created already on the intercom site). Thanks guys!
from intercom-node.
I'm dealing with the same problem. Any updates on this? Thanks!
from intercom-node.
Our company has discontinued use of Intercom because of many areas of the API including this are still lacking. It's a real shame as we love the Intercom platform as a whole.
from intercom-node.
Related Issues (20)
- Breaking changes in version 4? HOT 4
- 500 Response When Trying to Search For Contact HOT 4
- Better error handling of invalid search queries HOT 1
- Make CreateCompanyData fields optional HOT 4
- Documentation Error HOT 2
- Unable to pass customAttribute object to client.conversation.update() HOT 1
- Typo in type `RecepientType` (should be RecipientType) HOT 2
- I can not create a contact user. HOT 8
- Try to run boiler plate code in a node script either results in "SyntaxError: Cannot use import statement outside a module" or "Error [ERR_MODULE_NOT_FOUND]" HOT 1
- Unable to update by companyId with `client.companies.update`
- Type issue while using Intercom-Version headers HOT 1
- Small mistake in README - "import { Client } from './dist/index';" HOT 1
- Get Converting circular structure to JSON error when init Client
- How to import types ? HOT 1
- Unexpected behaviour using access token HOT 2
- Creating and Updating a Company - only companyId should be required
- Searching conversations with date fields always returns an empty result
- Do not throw undefined when the response body does not match the intercom API format
- Axios dependency version has critical vulnerability CVE-2023-45857 HOT 2
- createDataAttribute returns a 500
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intercom-node.