Pipefy SDK
General
Constructor
Integration class with Pipefy rest api.
Pipes
pipe
Show pipe: Get a pipe by its identifier.
pipes
List pipes: Get pipes by their identifiers.
createPipe
Create pipe: Mutation to create a pipe, in case of success a query is returned.
updatePipeRelation
Update pipe relation: Mutation to update a pipe relation, in case of success a query is returned.
updatePipe
Update pipe: Mutation to update a pipe, in case of success a query is returned.
clonePipes
Clone pipe: Mutation to clone a pipe, in case of success a query is returned.
pipe_relations
Show pipe relations: Get pipe relations by their identifiers.
createPipeRelation
Create pipe relation: Mutation to create a pipe relation between two pipes, in case of success a query is returned.
deletePipeRelation
Delete pipe relation: Mutation to delete a pipe relation, in case of success success: true is returned.
deletePipe
Delete pipe: Mutation to delete a pipe, in case of success success: true is returned.
Comments
createComment
Create comment: Mutation to create a comment, in case of success a query is returned.
updateComment
Update comment: Mutation to update a comment, in case of success a query is returned.
deleteComment
Delete comment: Mutation to delete a comment, in case of success success: true is returned.
Phase
phase
Show phase: Get a phase by its identifier.
createPhase
Create phase: Mutation to create a phase, in case of success a query is returned.
createPhaseField
Create phase field: Mutation to create a phase field, in case of success a query is returned.
updatePhaseField
Update phase field: Mutation to update a phase field, in case of success a query is returned.
updatePhase
Update phase: Mutation to update a phase, in case of success a query is returned.
deletePhaseField
Delete phase field: Mutation to delete a phase field, in case of success success: true is returned.
deletePhase
Delete phase: Mutation to delete a phase of a pipe, in case of success success: true is returned.
Label
createLabel
Create label: Mutation to create a label, in case of success a query is returned.
updateLabel
Update label: Mutation to update a label, in case of success a query is returned.
deleteLabel
Delete label: Mutation to delete a label, in case of success success: true is returned.
Card
card
Show card: Get a card by its identifier.
cards
List cards: Get cards by pipe identifier.
allCards
List cards: Get all cards by pipe identifier and specific filters (any field and operators).
Example of use:
pipefy.allCards("821643", filter='{field: "updated_at", operator: gt, value: 2018-08-01T23:50:11-03:00}')
createCard
Create card: Mutation to create a card, in case of success a query is returned.
updateCard
Update card: Mutation to update a card, in case of success a query is returned.
updateCardField
Update card field: Mutation to update a card field, in case of success a query is returned.
moveCardToPhase
Move card to phase: Mutation to move a card to a phase, in case of success a query is returned.
deleteCard
Delete card: Mutation to delete a card, in case of success success: true is returned.
Role
setRole
Set role: Mutation to set a user's role, in case of success a query is returned.
Databases
deleteTableRecord
Delete table record: Mutation to delete a table record, in case of success a query with the field success is returned.
updateTable
Update table: Mutation to update a table, in case of success a query is returned.
createTable
Create table: Mutation to create a table, in case of success a query is returned.
deleteTable
Delete table: Mutation to delete a table, in case of success a query with the field success is returned.
updateTableRecord
Update table record: Mutation to update a table record, in case of success a query is returned.
createTableField
Create table field: Mutation to create a table field, in case of success a query is returned.
table_records
List table records: Get table records with pagination through table id.
createTableRecord
Create table record: Mutation to create a table record, in case of success a query is returned.
table_record
Show table record: Get table record through table record id.
tables
List tables: Get tables through table ids.
table
Show table: Get a table through table id.
deleteTableField
Delete table field: Mutation to delete a table field, in case of success a query with the field success is returned.
updateTableField
Update table field: Mutation to update a table field, in case of success a query is returned.
setTableRecordFieldValue
Set table record field value: Mutation to set a table record field value, in case of success a query with the field success is returned.
setTableFieldOrder
Set table record field value Mutation to set a table field order, in case of success a query with the field success is returned.
Examples
Get phases from an specific Pipe
To get access to your token access the Personal Tokens and generate one.
The pipe id is the number followed by the name of pipe in the URL when the pipe is open, for example, for this URL https://app.pipefy.com/pipes/12345 the id is 12345.
The method pipes can send a list of pipe ids. The return is the list of phases and related attribues.
from pipefy import Pipefy
token = "your_token_here"
pipe_id =
pipefy = Pipefy(token)
pipes = pipefy.pipes([pipe_id])
print(pipes)