Live context straight from your own systems when helping customers.
Customer cards are a powerful feature in Plain that let you show information from your own systems while looking at a customer in Plain. This makes sure you always have important context when helping customers.
Customer cards are configured on Plain (see how to how to create one) and requested by Plain from your APIs.
For a more detailed description of the protocol, check out the full spec.
A thread is viewed in Plain.
Plain fires a POST request to your API with:
externalId
key
sYour API responds with the JSON for each card
Cards are shown to the user in Plain.
Based on your customer card settings, Plain will send a request to your API like the below example:
Your API should then reply with a list of cards matching the requested keys where each card contains the components you want to display:
To define what each customer card should look like, you use the Plain UI components. All the components are documented in the Plain UI Components section.
You can find example customer cards and an example API you can check out team-plain/example-customer-cards. Feel free to try these out in your workspace!
To demonstrate what you can build with customer cards we’ve built some examples you can view and which are open source.
The UI components playground lets you build and preview the component JSON needed to create a customer card. Use this to prototype a customer card before starting to build your integration.
Live context straight from your own systems when helping customers.
Customer cards are a powerful feature in Plain that let you show information from your own systems while looking at a customer in Plain. This makes sure you always have important context when helping customers.
Customer cards are configured on Plain (see how to how to create one) and requested by Plain from your APIs.
For a more detailed description of the protocol, check out the full spec.
A thread is viewed in Plain.
Plain fires a POST request to your API with:
externalId
key
sYour API responds with the JSON for each card
Cards are shown to the user in Plain.
Based on your customer card settings, Plain will send a request to your API like the below example:
Your API should then reply with a list of cards matching the requested keys where each card contains the components you want to display:
To define what each customer card should look like, you use the Plain UI components. All the components are documented in the Plain UI Components section.
You can find example customer cards and an example API you can check out team-plain/example-customer-cards. Feel free to try these out in your workspace!
To demonstrate what you can build with customer cards we’ve built some examples you can view and which are open source.
The UI components playground lets you build and preview the component JSON needed to create a customer card. Use this to prototype a customer card before starting to build your integration.