How can I load contacts and filter it out in Elsa SendEmail Activity by extended with my custom activity - asp.net-core

I wanna build a Marketing Tool so the first module is to build up the Bulk Email through Elsa on all my database table contacts.
so Is anyone here who has built that type of workflow with bulk email on all contacts we can also filter contacts and stop the workflow after running.
So I want to upload the contacts here and run the workflow, Also I didn't find a way to run the workflow from Dashboard.
This is a custom activity I have created and extended Elsa SendEmail
I have used "ActivityInput" as JavaScript, Liquid, Json but how can I upload the Contacts CSV file or load from Database all contacts and apply some filter on it.
There is one more question, how can I invoke Workflow via the dashboard?

Related

How to using Azure Board to trigger a API call or script

Is there a way I can set up a API call triggering in Azure Board? Lets say one item is "Request approval for creating S3 buckets in AWS", I want to trigger S3 creating API or script when this item's status changed from doing to done. My end goal is automating tasks like S3 buckets creation, VPC creation, shutdown/start VMs etc in my organization.
You are probably wanting to create a Webhook.
Webhooks provide a way to send a JSON representation of an event to
any service. All that is required is a public endpoint (HTTP or
HTTPS).
You would setup to trigger on work item updated. You would like need to code on your receiver to interpret the update.
A. If you want to trigger the API via work item state update, you need own website to receive message from VSTS web hook and send request to run the API call or script, and create webhook in the Azure DevOps.
Develop your own website with below functions:
Check the current state of the work item updated. You can get a work item information by REST API, and the check the value for System.State.
According to the value of System.State, to trigger related API or script.
B.
Login Power Automate and create a custom workflow. You can refer to this doc for more details.

How to integrate Hubspot with custom build CRM (avoiding hubspot UID's)

I have a custom built CRM that I would like to integrate with Hubspot. I would like to keep both systems active. At the moment we are manually copying the data from the custom built CRM into Hubspot. I would like to automate this using the Hubspot API.
Do I have to call the Hubspot API using the Hubspot UID's (I don't want to have to add a field in my existing CRM to record the Hubspot UID as that is just moving the existing manual entry to another area).
Thanks in advance
HubSpot API is the way to go https://developers.hubspot.com/docs/api/overview , however, be sure to read the terms of use to avoid any compliance issue as you will be using their data sources:
https://legal.hubspot.com/developer-terms
HubSpot's unique identifier for contacts are Contact ID and email address.
So if you already have contacts' email addresses in your non-HubSPot CRM, I believe you would not need Contact ID as the UID to update existing contacts via API.
Here is the reference:
An email address is the primary identifier for a contact in HubSpot.
These endpoints automatically deduplicate email addresses to keep
HubSpot data clean.

Shopify custom form

I need to create custom form in shopify eshop and the data send via external API. Is there some way how to do that? Or is there some way how to store the custom data and then access it via private app? Thanks a lot!
This really depends on what data you are trying to collect. If you are just trying to collect standard customer info you can create your own form in .liquid and have a webhook forward the info to zapier or create a private app key/pwd and use the Shopify api to pull information.
If you want more arbitrary information you can create or use an app that allows you to create a form and then process that form's responses.
I have a forms app in development that allows you to create a form and use an api to pull data from form submissions or have the form response sent as a JSON email body. (https://knightsofthenet.herokuapp.com/questionnaire/)
Some of the competition will just email the response in their own format and then you have to parse that response (in the past I've done that with mail gun and a node app. This would be a good use case for SES and AWS Lambda as well.

Create a new scheduled Tweet via the API

I looked into their documentation and they do provide this feature:
https://support.twitter.com/articles/20170532-scheduled-tweets#How_to_create_a_new_scheduled_Tweet
But would it be possible to do this through the API (I didn't find any reference to this or attributes).
There's no way to do it with the Twitter API. You have two choices:
Either tell your code to run at a specific time (using cron or similar), or check what the time is before posting.
Use a third party service like Buffer - https://bufferapp.com/developers/api
This can be done using Twitter Ads API(scheduled tweets api).
From the api doc,
Scheduled Tweets allow an advertiser or user to create a Tweet that can be scheduled to go live at a later date. In addition to being able create and manage these Tweets, the API allows the ability to associate these Tweets with a line item, to be promoted once the Tweet goes live. This allows advertisers to stage create native Tweets and plan their campaign creatives in advance of any key initiatives. For example, staging a Tweet creative to live immediately upon a new product announcement.
The full set of functionality provided by the Scheduled Tweets API endpoints are listed below:
Create, modify and view newly scheduled Tweets
Associate a Scheduled Tweet with a line item
Query and manage existing scheduled Tweets
Once a Scheduled Tweet goes live, retrieve the live Tweet id
Complete details can be found here
You can create a Scheduled Tweet for the account's full promotable user (default) or the user specified in the as_user_id parameter.
https://developer.twitter.com/en/docs/ads/creatives/api-reference/scheduled-tweets#post-accounts-account-id-scheduled-tweets
There is a limit of 5 user per account... even with a developer account you have to request acces to that API.

How to create an Approval Workflow associated to a List in SharePoint 2010?

I was recently tasked with taking over the SharePoint administration for my company, but I have very limited SharePoint experience. I'm using SharePoint 2010.
I have a List with a few built-in columns (like Status, Assigned To, etc) and I'd like to perform a few actions when a new List item is created: change the Status and Assigned To columns of the List item, send out an email, and then create a task for the user's manager to approve it. However, in SharePoint Designer, I cannot figure out how to create a Reusable Approval Workflow and associate it to a List, or a List Workflow and add an Approval Task to it.
If I create a Reusable Approval Workflow, when I try to use the "Set Field in Current Item" Action, I don't have any of the List Columns available (to set the Status, Assigned To, etc).
And when I create a List Workflow, I can access the columns for the list (Status, Assigned To, etc) but I can't figure out how to make the new List item go through the Approval process.
So my question is: how do I Associate a Workflow to a List, change some of the List column properties, and create an Approval Task for the Manager when a new item is created?
Am I missing something here or am I not approaching this correctly?
The easy way is just opening your site with designer and configure the approval workflow from there. You can select the list and make all the changes. I would give you a step by step guide, but some did this awesome article, so check it out http://plexhosted.com/billing/knowledgebase/226/How-to-create-a-simple-approval-workflow-in-SharePoint-Designer.html
I discovered the answer to this question on my own. It's due to the way SharePoint handles Tasks during a workflow. I was using the "Assign a Task" or "Assign a To-Do" when I needed to use COLLECT DATA FROM USER. This will return the Id of the task, which can be used later to retrieve the user's Approval or Rejection.
Did you end up creating a custom workflow to do all tasks yourself?
I have also tried a List WorkFlow and a Reusable Workflow and started by copying the "Approval - SharePoint 2010" workflow as a model in both cases. The caveat then is the users are tied to completing both the task and workflow items that are created.
An approver wants to receive the email to Approve or Reject a request on a Calendar from the Approve/Reject View in SharePoint and let that be it. They do not want to track tasks on Approval.
A requestor only wants to receive an email that their request was Approved or Rejected and enter another for a different time if the initial request was rejected.