The connector only reads data. It never creates, changes or deletes anything in Cloud Humans, and it never sends messages or campaigns.
Configuring Cloud Humans as a Source
In the Sources tab, click on the “Add source” button located on the top right of your screen. Then, select the Cloud Humans option from the list of connectors. Click Next and you’ll be prompted to add your access.1. Add account access
Choose how the connector signs in (Authentication Method). What you can sync depends on it:
API credential. An administrator creates it in Cloud Chat under Settings > API and integrations > API credentials > New credential, with the Conversations, read and Contacts, read accesses. Copy the Client ID and the Client Secret at the end of the flow: the secret is shown only once. Cloud Chat also shows the instance next to the Client ID. Cloud Humans limits API credentials to contacts and conversations; the other tables need a user.
User e-mail and password. Use a Cloud Chat user that is an administrator of the account, ideally one created only for Nekt. The user must have a permanent password and must not have two-step verification (SMS code) turned on, because a scheduled sync cannot type the code.
The following configurations are available:
- Authentication Method: API credential or User e-mail and password.
- Client ID and Client Secret: the values of the API credential (API credential only).
- E-mail and Password: the sign-in of the Cloud Chat user (User e-mail and password only).
- Account ID: the number of your Cloud Chat account, the one after
/accounts/in the browser address bar when you are in Cloud Chat (for example,1234). - Cloud Chat Instance: the Cloud Chat instance that holds your account, a short number such as
1. Cloud Chat shows it next to the Client ID of an API credential; you can also read it on the Find your credentials page of the Cloud Humans documentation. - Start Date: earliest date read on the first sync: conversations changed since then (with all their messages) and CSAT answers given since then.
- Re-read Window (days): (Default: 1, advanced) each sync re-reads the conversations changed, and the CSAT answers given, in this many days before the previous sync. This keeps the WhatsApp delivery and read status of recent messages up to date. Larger values make syncs longer.
2. Select streams
Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. Select Conversations together with Messages: messages are read through their conversations.Tip: The stream can be found more easily by typing its name.Select the streams and click Next.
3. Configure data streams
Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.- Layer: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
- Folder: a folder can be created inside the selected layer to group all tables being created from this new data source.
- Table name: we suggest a name, but feel free to customize it. You have the option to add a prefix to all tables at once and make this process faster!
- Sync Type: you can choose between INCREMENTAL and FULL_TABLE.
- Incremental: every time the extraction happens, we’ll get only the new data, which is good if, for example, you want to keep every record ever fetched.
- Full table: every time the extraction happens, we’ll get the current state of the data, which is good if, for example, you don’t want to have deleted data in your catalog.
4. Configure data source
Describe your data source for easy identification within your organization, not exceeding 140 characters. To define your Trigger, consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times). Optionally, you can define some additional settings:- Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource here.
- Determine when to execute an Additional Full Sync. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.
5. Check your new source
You can view your new source on the Sources page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.Streams and Fields
Available streams
The table below lists every stream, its slug (the exact identifier to pass when creating the source via API), how it syncs and who can read it.Fields by stream
All dates are in UTC. Nested values are flattened into columns (contact_id, sender_type…) or kept as JSON text (custom_attributes).
Conversations
Conversations
Primary key:
id. Replication key: updated_at.id- Conversation number: the one shown in the Cloud Chat URL and in webhooks, unique within the accountuuid- Canonical, globally unique id of the conversation (the cloudChatId of the ClaudIA API)status- Lifecycle status: open, resolved, pending, snoozed or proactive (opened by an outbound message, such as a campaign)priority- Priority set on the conversation: low, medium, high or urgent; null when none is setassignee_id- Id of the agent currently assigned (see the agents table); null while unassignedinbox_id- Id of the inbox (channel) the conversation lives in, such as a WhatsApp number (see the inboxes table)team_id- Id of the team the conversation is assigned to (see the teams table); null when nonecontact_id- Id of the customer (contact) on the other side of the conversation (see the contacts table)contact_name- Display name of the contact when the conversation was readlabels- Labels applied to the conversation, exactly as shown in Cloud Chatcustom_attributes- Custom conversation attributes configured in the account, keyed by attribute keysnoozed_until- When a snoozed conversation reopens; null outside the snoozed statuswaiting_since- Since when the conversation has been waiting for the next reply (basis of SLA and wait-time reports); null when nothing is waited oncreated_at- When the conversation was created (UTC)updated_at- When the conversation last changed (UTC); used as the incremental replication keylast_activity_at- When the last message or activity happened in the conversation (UTC)extra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Messages
Messages
Primary key:
id. Replication key: conversation_updated_at.id- Message id, unique within the Cloud Chat instanceuuid- Canonical, globally unique id of the message (the messageId of the ClaudIA API)conversation_id- Number of the conversation the message belongs to (see the conversations table)conversation_uuid- Canonical id of the conversation the message belongs tocontent- Text of the message; null on some activity or attachment-only messagesmessage_type- Who originated it: incoming (from the contact), outgoing (agent or bot), activity (system event such as a status or assignment change) or template (outbound template, e.g. WhatsApp)content_type- How Cloud Chat renders the body: text for most messages, or an interactive/bot type (input_select, cards, form, article, input_csat, …)private- True for a private note, visible only to agents and never sent to the contactstatus- Delivery status on the channel: sent, delivered, read or failed; null on types that do not track deliverysender_type- Kind of sender: contact, user (agent or administrator) or agent_bot; null on activity messagessender_id- Id of the sender (contact id, agent id or bot id depending on sender_type); null for activity messages and hidden platform adminssender_name- Display name of the sender (masked for hidden platform admins)created_at- When the message was created (UTC)conversation_updated_at- updated_at of the conversation when its messages were read; used as the incremental replication keyextra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Contacts
Contacts
Primary key:
id. Full table.id- Contact id, the same contact_id used by conversations, messages and CSAT answersname- Display name, often the one the channel reported (such as the WhatsApp profile name); empty when unknownemail- E-mail address of the contact; null when nonephone_number- Phone number in E.164 format; null when noneidentifier- Id your own systems use for this contact, when set through an integrationcustom_attributes- Custom contact attributes configured in the account, keyed by attribute keycreated_at- When the contact was created (UTC)last_activity_at- When the contact last had activity (UTC); null when neverextra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
CSAT Responses
CSAT Responses
Primary key:
id. Replication key: created_at.id- Id of the CSAT answerconversation_id- Number of the rated conversation (see the conversations table)conversation_uuid- Canonical id of the rated conversationrating- Score the customer gave, from 1 (worst) to 5 (best)feedback- Comment the customer wrote with the score; null when noneassignee_id- Agent the answer is credited to: the one assigned when the survey went out (see the agents table); null when unassignedcontact_id- Contact who answered (see the contacts table)inbox_id- Inbox of the rated conversation (see the inboxes table)team_id- Team the conversation was assigned to when this answer was read; null when nonecreated_at- When the customer answered (UTC); used as the incremental replication keyextra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Campaigns
Campaigns
Primary key:
id. Full table.id- Campaign id, sequential within the account (the number Cloud Chat shows)title- Internal name of the campaignmessage- Template name on a WhatsApp campaign; message body on e-mail and widget campaignscampaign_status- Lifecycle status (active, completed, running, draft, partially_completed, failed…). Not a delivery report: on WhatsApp, completed is set before the audience is resolvedcampaign_type- one_off (sent once) or ongoing (fires on a trigger)subject- Subject line of an e-mail campaign; null on other channelsinbox_id- Inbox that sends the campaign (see the inboxes table)email_campaign_sender_id- Verified sender of an e-mail campaign; null on WhatsApp and widgetsender_id- User the campaign is attributed to (see the agents table)conversation_label_id- Label applied to the conversations the campaign opens (see the labels table)team_id- Team the conversations opened by the campaign are assigned to (see the teams table)recipients_count- Raw audience size recorded on the campaign, before the reachability check; not what was deliveredscheduled_at- When the campaign is due out (UTC)started_at- When dispatch began (UTC). Always null on WhatsApp campaignscompleted_at- When the campaign reached a terminal status (UTC); null while opencreated_at- When the campaign was created (UTC)updated_at- When the campaign last changed (UTC)extra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Agents
Agents
Primary key:
id. Full table.id- Agent id, the one conversations (assignee_id), messages (sender_id) and CSAT answers refer toname- Name of the agent as shown in this accountdisplay_name- Name that belongs to this account only, when there is one; null means name comes from the user’s global recordemail- Login e-mail of the agentrole- Role in the account: agent, administrator, supervisor, assistant or cx_engineeravailability_status- Availability when read: online, offline or busyauto_offline- Whether the agent goes offline automatically after a period of inactivityassignment_limit- Per-agent limit of conversations assigned at once; null when the account default appliesis_ai_agent- True for an AI agent (such as ClaudIA), false for a humanteam_ids- Ids of the teams the agent belongs to (see the teams table)inbox_ids- Ids of the inboxes the agent is a member of (see the inboxes table)created_at- When the agent was added (UTC)updated_at- When the agent last changed (UTC)extra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Teams
Teams
Primary key:
id. Full table.id- Team id, the one conversations and CSAT answers refer to as team_idname- Name of the teamdescription- Description of the teamallow_auto_assign- Whether conversations are assigned automatically to the team’s agentsworking_hours_enabled- Whether the team has working hours configuredout_of_office_message- Message sent outside working hourstimezone- Time zone of the team’s working hourssystem_managed- True for a team provisioned by the Cloud Humans platform itselfcreated_at- When the team was created (UTC)updated_at- When the team last changed (UTC)extra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Inboxes
Inboxes
Primary key:
id. Full table.id- Inbox id, the one conversations, CSAT answers and campaigns refer to as inbox_idname- Name of the inboxchannel_type- Channel class of the inbox, such as Channel::Whatsapp, Channel::WebWidget, Channel::Api or Channel::Emailgreeting_enabled- Whether a greeting message is sent on new conversationsgreeting_message- Greeting message sent on new conversationsworking_hours_enabled- Whether the inbox has working hours configuredout_of_office_message- Message sent outside working hourstimezone- Time zone of the inbox’s working hourscsat_survey_enabled- Whether a CSAT survey is sent when a conversation is resolvedenable_auto_assignment- Whether conversations are assigned to agents automaticallyallow_messages_after_resolved- Whether the contact can keep writing after the conversation is resolvedlock_to_single_conversation- Whether a contact is kept in a single conversation in this inboxcreated_at- When the inbox was created (UTC)updated_at- When the inbox last changed (UTC)extra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Labels
Labels
Primary key:
id. Full table.id- Label idtitle- Label text, exactly as it appears in the labels column of conversationsdescription- Description of the labelcolor- Hex color of the label chip in Cloud Chatshow_on_sidebar- Whether the label appears in the conversation sidebar filtercreated_at- When the label was created (UTC)updated_at- When the label last changed (UTC)extra_fields- Fields the API returned that the connector does not map to a column yet, as JSON with their original names
Data Model
Use Cases for Data Analysis
Run these queries on Explorer. Replace the table names with the ones you chose for this source.1. WhatsApp support volume and first response time
2. CSAT by agent
3. Campaign template sends and their delivery status
Campaign messages are sent as WhatsApp template messages in the conversations the campaign opens. The API does not link a message to a campaign, so match them by the template name (the campaignmessage), the inbox and the date.
Implementation Notes
- Full sync of Messages. If you run a full sync of the Messages table alone, the connector reads every conversation since the Start Date for it, so the table is rebuilt in full.
- Conversations are read by the time of their last change, so a conversation that is reopened, reassigned, relabelled or resolved after an earlier sync comes again with its current state, together with all its messages. Each sync also re-reads the Re-read Window before the previous one.
- Message status, edits and deletions. Cloud Chat updates the WhatsApp status of a message (sent, delivered, read, failed), and edits or deletes a message, without marking its conversation as changed. These changes are picked up only while the conversation is inside the Re-read Window (1 day by default); later ones are not, so read rates of older campaign messages go stale. If you need them, raise the Re-read Window (up to 30 days): syncs get longer, because every message of the conversations changed in that window is read again.
- CSAT answers are read by the time the customer answered, so an answer that arrives days after the conversation closed is picked up by the next sync.
team_idis the team the conversation is assigned to when the answer is read;assignee_idis the agent assigned when the survey went out. An answer edited later (score or comment) keeps its answer time, so the edit is picked up only within the Re-read Window. - Campaigns. Cloud Humans has no list of campaigns, so the connector looks campaigns up by their sequential number, stepping over deleted ones and looking further ahead after a long run of deleted numbers. If a sync finds no campaign at all, it warns you. The campaign status is not a delivery report: on WhatsApp,
completedis set before the audience is resolved andstarted_atis always empty. For the per-recipient sends, use the template messages (see the use case above). - Full table streams. Contacts, campaigns, agents, teams, inboxes and labels are read in full on every sync. If one that had records suddenly comes back empty, that stream fails instead of emptying your table; run a full sync of the source if the data really was removed in Cloud Chat.
- Permissions. Before reading anything, the connector checks which selected tables the credential or user may read. Tables it cannot read are skipped with a warning that names them and says how to get access; the other tables still load.
- Deleted records. Cloud Humans does not report deleted records. Full table streams drop them on the next sync; deleted conversations and messages stay in their tables.
- Rate limits. Cloud Humans limits requests per user or per API credential, shared with any other integration that uses the same login. The connector slows down before reaching the limit, so a first sync with a long history can take a while.
- Fields. Any field Cloud Humans adds that the connector does not map yet is kept in the extra_fields column of the table, as JSON with the original field names.
- Data Export. Cloud Humans also offers a Data Export of raw tables to a storage bucket, including outbound and campaign delivery events. This connector does not use it.