Skip to main content

I know this has been asked before but I’m just wondering if it has been implemented and added to the API. Is there a way to get the activity center, where comments, audit trail, etc are on a card, are they available via the API? i.e. can this info be pushed into another system?

 

Hi, @jnihorimbere 

 

I believe it hasn't been implemented yet


Hi team.

Currently, this function has not yet been implemented, and card activities cannot be searched using the api.  


👍👍👍


If you don’t mind living dangerous, you can use the internal GraphQL API of Pipefy (please don’t block me, Pipefy Staff, I’m just trying to be helpful). You can use the network tab in the dev console of your browser to look at the queries Pipefy does. This could be, for example, with JavaScript:

 

fetch("https://app.pipefy.com/activities/graphql", {
"headers": {
"accept": "*/*",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7,de-CH;q=0.6",
"content-type": "application/json",
},
"referrer": "https://app.pipefy.com/",
"referrerPolicy": "origin",
"body": JSON.stringify({
"operationName": "CardActivitiesQuery",
"variables": {
"orgUuid": "enter-here",
"pipeUuid": "enter-here",
"cardUuid": "enter-here",
"before": null,
"pageSize": 30
},
"query":"query CardActivitiesQuery($orgUuid: ID!, $pipeUuid: ID!, $cardUuid: ID!, $before: Cursor, $pageSize: Int) {
cardActivities(
orgUuid: $orgUuid
pipeUuid: $pipeUuid
cardUuid: $cardUuid
before: $before
pageSize: $pageSize
) {
nodes {
__typename
... on CardAssigneeCreate {
id
action
happenedAt
userName
assigneeName
__typename
}
... on CardAssigneeDestroy {
id
action
happenedAt
userName
assigneeName
__typename
}
... on CardLabelAdd {
id
action
happenedAt
userName
labelName
__typename
}
... on CardLabelDestroy {
id
action
happenedAt
userName
labelName
__typename
}
... on CardAttachmentCreate {
id
action
happenedAt
userName
fileName
link
cardUuid
__typename
}
... on CardAttachmentDestroy {
id
action
happenedAt
userName
fileName
__typename
}
... on CardCommentCreate {
id
action
happenedAt
commentContent
userName
__typename
}
... on CardCommentDestroy {
id
action
happenedAt
commentContent
userName
__typename
}
... on CardFieldValueUpdate {
id
action
happenedAt
beforeValue
afterValue
fieldType
fieldName
userName
via
automation
__typename
}
... on CardMove {
id
action
happenedAt
oldPhaseTitle
newPhaseTitle
userName
automation
__typename
}
... on CardTitleUpdate {
id
action
happenedAt
beforeValue
afterValue
userName
__typename
}
... on CardDone {
id
action
happenedAt
phaseTitle
__typename
}
... on CardOverdue {
id
action
happenedAt
phaseTitle
__typename
}
... on CardLate {
id
action
happenedAt
phaseTitle
__typename
}
... on CardExpired {
id
action
happenedAt
phaseTitle
__typename
}
... on CardChecklistDestroy {
id
action
happenedAt
userName
checklistTitle
__typename
}
... on CardChecklistCreate {
id
action
happenedAt
userName
checklistTitle
__typename
}
... on CardChildCreate {
id
action
happenedAt
userName
cardTitle
phaseTitle
pipeTitle
__typename
}
... on CardEmailSend {
id
action
happenedAt
userName
emailTitle
__typename
}
... on CardInboxEmailReceived {
id
action
happenedAt
cardTitle
__typename
}
... on CardInboxEmailSent {
id
action
happenedAt
cardTitle
userName
__typename
}
... on CardInboxEmailDestroy {
id
action
happenedAt
cardUuid
userName
emailTitle
__typename
}
... on CardCreate {
id
action
happenedAt
via
userName
automation
__typename
}
... on CardDestroy {
id
action
happenedAt
userName
__typename
}
... on PublicPhaseFormLink {
id
action
happenedAt
userName
cardTitle
phaseTitle
__typename
}
... on CardInboxEmailsRead {
id
action
happenedAt
cardUuid
userName
__typename
}
}
endCursor
hasNextPage
__typename
}
}
"}),
"method": "POST",
"mode": "cors",
"credentials": "include"
});

 


Reply