How do I use the Pipeline Data Lists component inside a custom LWC?

You can embed the component inside your custom LWC and pass in custom action buttons. Handle events with onlistaction and onrowaction to run your own logic, and call the component's refresh() method to update the view when actions are complete.

Example:

import { LightningElement, api, track } from 'lwc';
export default class MyPipelineDataLists extends LightningElement {
 @api recordId;
 @track actionButtons = { "executableApiName1": [
   { label: 'Create Custom Task', name: 'Create Custom Task', variant: 'neutral', listAction: true, rowAction: true },
   { label: 'Archive', name: 'Archive', listAction: true, rowAction: false }
 ]};
 handleListAction(event) {
   console.log('List action:', JSON.stringify(event.detail, null, 2));
   // custom logic here
   this.refreshDataLists();
 }
 handleRowAction(event) {
   console.log('Row action:', JSON.stringify(event.detail, null, 2));
   // custom logic here
   this.refreshDataLists();
 }
 refreshDataLists() {
   const cmp = this.template.querySelector('pushtopics-pipeline-data-lists');
   if (cmp) cmp.refresh();
 }
}