Coevera v2
Provides integration with Coevera CRM through its public GraphQL API. Use this Node to get, list and query accounts, contacts, leads, opportunities, tasks, products and clients, and to create, update and delete accounts, contacts, leads, opportunities, tasks and products in your Workflows. Templates are generated from the GraphQL schema acquired for your Coevera space. The Node is available on Cloud Runtime Clusters.
Revision History
0.0.0.3 - Initial release.
Connection
Use this Connection to store the Coevera API application credentials and the GraphQL schema acquired for your space.
| Property | Type | Description |
|---|---|---|
ServiceUrl |
String | The HTTPS service origin from Coevera Show Access, for example https://eu-central.api.coevera.com/. It must be an absolute HTTPS origin with no credentials, path, query or fragment. |
SpaceId |
String | The exact Space ID from Show Access. |
Username |
String | The API application's User Name. |
Password |
Masked | The API application's Password. |
TimeoutSeconds |
Integer | Maximum number of seconds for each request to Coevera. Defaults to 30 and must be greater than zero. |
Schema |
String | Hidden. The GraphQL schema saved by AcquireMetadata. |
MetadataSource |
String | Hidden. The service origin and space that the saved schema was acquired from. |
Setup Notes
- In Coevera, create an API application with the Records permissions required by the operations you plan to use.
- Open Show Access for the application and copy its values into a
CoeveraConnection:Service URLtoServiceUrl,Space IDtoSpaceId,User NametoUsernameandPasswordtoPassword. - Test the
Connection. The test authenticates and reads an account, so it confirms both the credentials and access to data. - Run
AcquireMetadata. This authenticates with a real account read, downloads the GraphQL schema for the space and saves it on theConnection. All templates and Methods require this metadata. - Select a Method and its template, then map the fields needed by your Workflow.
The Node authenticates every request with HTTP Basic authentication using the application's User Name and Password. There is no OAuth sign-in or token refresh. When you regenerate or revoke the application's credentials in Coevera, update the Connection.
Run AcquireMetadata again after changing ServiceUrl or SpaceId. Until you do, template selection and invocation stop with an instruction to acquire metadata for the service and space. The saved schema is replaced only when the new schema is read successfully.
Redirects are not followed. A redirect response fails the request, so credentials and queries are never sent to another endpoint.
Methods
Select a template for the Method you want to use. The template supplies TemplateKey, a GUID identifying the operation, and describes its Options, Items and Response fields. Templates are named by Method and entity, such as Get Account or Create Opportunity, and are only available when the entity and operation exist in the acquired schema. A TemplateKey that is unknown or belongs to a different Method is rejected.
| Entity | Get, List, Query |
Create, Update, Delete |
|---|---|---|
| Account | Yes | Yes |
| Contact | Yes | Yes |
| Lead | Yes | Yes |
| Opportunity | Yes | Yes |
| Task | Yes | Yes |
| Product | Yes | Yes |
| Client | Yes | No |
Read Methods return one row per Coevera record containing the entity's scalar and enum fields. Related objects are not fetched recursively.
Get
Reads one record by its ID.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Coevera Connection used to authenticate the request. |
TemplateKey |
String | GUID supplied by the selected Get template. |
Options |
Object | Requires EntityId, the ID of the record to read. No other fields are accepted. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row containing the record. Returns no rows when Coevera finds no record with that ID. |
List
Reads every record of the selected entity, ordered by ID. Pages are retrieved automatically as you consume Response.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Coevera Connection used to authenticate the request. |
TemplateKey |
String | GUID supplied by the selected List template. |
Options |
Object | Optional. IncludeDeleted includes deleted records when the entity supports it. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per record. An empty collection returns no rows. |
Query
Reads the records of the selected entity that match a filter. Pages are retrieved automatically as you consume Response.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Coevera Connection used to authenticate the request. |
TemplateKey |
String | GUID supplied by the selected Query template. |
Options |
Object | Filter is required and must contain at least one value. OrderBy overrides the default ordering by ID, and IncludeDeleted includes deleted records. The available filter and sort fields come from the acquired schema. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One row per matching record. Returns no rows when nothing matches. |
When Filter is unmapped, null, or contains only null, empty-string or empty members, the Node stops before making a request with the message Filter was not provided. Query needs at least one filter value. Use List to read the whole collection. This prevents a missing mapping from reading the whole collection. Use List for an unfiltered read.
Create
Creates one record for each input item.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Coevera Connection used to authenticate the request. |
TemplateKey |
String | GUID supplied by the selected Create template. |
Items |
Array | Required stream of records. Each item contains the fields of the Coevera mutation input, including any relationship IDs. An empty connected stream creates nothing. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One result per input item containing the returned record under its entity name, for example account, clientMutationId, and Flowgear.IsSuccess, Flowgear.Message and Flowgear.Request. The request contains a copy of the original item. |
Update
Updates one record for each input item.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Coevera Connection used to authenticate the request. |
TemplateKey |
String | GUID supplied by the selected Update template. |
Items |
Array | Required stream of records. Each item must supply its own id and the fields to change. An empty connected stream performs no updates. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One result per input item containing the returned record under its entity name, clientMutationId, and Flowgear.IsSuccess, Flowgear.Message and Flowgear.Request. |
Delete
Deletes one record for each input item. Coevera can soft-delete records, and no permanent purge is available through the Node.
| Parameter | Type | Description |
|---|---|---|
Connection |
Connection | Coevera Connection used to authenticate the request. |
TemplateKey |
String | GUID supplied by the selected Delete template. |
Items |
Array | Required stream of records. Each item must supply the id of the record to delete. An empty connected stream deletes nothing. |
| Return | Type | Description |
|---|---|---|
Response |
Array | One result per input item containing the returned record under its entity name, clientMutationId, and Flowgear.IsSuccess, Flowgear.Message and Flowgear.Request. |
Usage Notes
- Every
UpdateandDeleteitem must contain its ownid. There is no fallback toOptions. A missingidin the first item stops the Node before any request, in a later item it produces a failed row and the following items continue. - Required input fields come from the acquired schema. A required field with a schema default is optional. Coevera may require more fields than the schema declares. For example, creating an opportunity can also require
accountRelationswithaccountIdandisPrimary, and creating a product can requireunitSymbol. Owners and opportunity steps must be valid in the target space. - Values for
Int,Float,Boolean,StringandIDfields and for enums are checked before sending. AnIntmust be a JSON integer, aBooleanmust betrueorfalse, and an enum must be one of its schema values. Custom types such asUUID,Date,DateTimeandJSONStringare passed to Coevera for validation. Custom fields stored asJSONStringare supplied as JSON text. - Map string, number, Boolean and enum collections, including filter predicate lists and ID lists, as CSV strings. Quote values containing commas, quotes or line breaks, and double any quotes inside a quoted value. Whitespace is preserved. An empty string represents an empty collection, while
""represents one empty string. Boolean values must be exactlytrueorfalse. Object collections remain structured arrays. - In a
Queryfilter, null and empty-string members beside a supplied value are dropped, while whitespace andfalseare sent unchanged. A nullOrderByorIncludeDeletedis ignored, so the default ordering by ID is kept. - Template samples illustrate valid inputs and are not applied automatically.
Get,UpdateandDeletetemplates never supply a default record ID. - Let the Node handle pagination. It requests 100 records per page and stops after 10,000 requests.
- The first read page or the first write executes when the Node starts. Later pages and items are processed as you consume
Response, and write results can only be consumed once. - Check
Flowgear.IsSuccessfor every write result. After the first item, record validation errors, server errors, timeouts and other failures that affect only one item produce a failed row, and the following items continue. Authentication failures (401), Forbidden responses (403) and missing permissions stop the Node because every later item would fail the same way. Any failure on the first item stops the Node.Get,ListandQueryfailures always stop the Node. - The Node retries rate-limited (429) requests up to three times, respecting Coevera's
Retry-Aftervalue. WhenRetry-Afteris longer than 60 seconds, the request fails instead of waiting. Writes that time out or fail with a server error are not retried. Check Coevera before repeating such a write, because it may already have been applied. - Configured credentials are removed from error messages returned by write operations.
- Templates use the schema saved on the
Connection, and listing or selecting a template does not contact Coevera. - Bulk mutations, business actions such as archive, restore, merge, qualify or move, other entity types, files and webhooks are not supported.
Examples
Query accounts by name
Select the Query Account template and supply the following Options object:
{
"Filter": {
"name": {
"icontains": "Sample Text"
}
}
}
icontains is a list, so its value is a CSV string. Each row in Response is one matching account.
Create a product
Select the Create Product template and supply the following object as an item in Items:
{
"name": "Example product",
"unitSymbol": "ea"
}
Check the result's Flowgear.IsSuccess before using the returned product.id in later operations.