This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.
To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.
New Contact Created on Cogmento
Description:Emit new event when a new contact is added in Cogmento. [See the documentation](https://api.cogmento.com/static/swagger/index.html#/Contacts/get_contacts_)
Version:0.0.1
Key:cogmento-new-contact-created
import common from "../common/base.mjs";
export default {
...common,
key: "cogmento-new-contact-created",
name: "New Contact Created",
description: "Emit new event when a new contact is added in Cogmento. [See the documentation](https://api.cogmento.com/static/swagger/index.html#/Contacts/get_contacts_)",
version: "0.0.1",
type: "source",
dedupe: "unique",
methods: {
...common.methods,
getResourceFn() {
return this.cogmento.listContacts;
},
getSummary(item) {
return `New Contact Created: ${item.name}`;
},
},
};
This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
| Label | Prop | Type | Description |
|---|
| Cogmento | cogmento | app | This component uses the Cogmento app. |
| N/A | db | $.service.db | This component uses $.service.db to maintain state between executions. |
timer | $.interface.timer |
Cogmento uses OAuth authentication. When you connect your Cogmento account, Pipedream will open a popup window where you can sign into Cogmento and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Cogmento API.
Pipedream requests the following authorization scopes when you connect your account:
Cogmento is AI, Data, and CRM powered by verifiable credentials and self-sovereign identity.