Get number of results from Search Action on Zapier - search

I build zap using zapier, which performs "Find Person" Action on Pipedrive crm (the question is relevant to search in any integration)
The result returned from the search is a single object. (Contrary to what might be expected - an array of objects)
My goal is to know how many records returned from the search (I mean the list length actually), and use that information to perform various actions later in the Zap.
How can this be done?
how my zap currently looks
Thanks

Zapier searches are designed to resolve a piece of info (like an email) into a single record from an external service (like a "Contact"), so it's working as expected here.
I'm not sure the official integration will return the data you want here, but you can write a custom integration that has an action like "Count People Matching Search", which could return that data for you.
There's info about building a custom integration here: https://platform.zapier.com/

Related

Dialogflow, Maps Agent - how to get lat/long?

Dialogflow offers a pre-built agent called "Maps" that helps to catch the location from user's statement. This Maps intent resolves the location and returns data such as
City name (when I search for Google, Chicago)
Business name (when I search for Chennai)
subdomain-area (when I search for "where is saidapet")
admin-area (when I search for Schaumburg)
What is the logic behind this Agent?
Is there any schema defined anywhere so that I know which field to expect for a given search?
Is it possible to get lat/long part of this response?
Appreciate any thoughts.
When you use one of these prebuilt agents, you are basically creating a new agent of your own based on a Google-provided samplete/template. Click on the intent definitions and you’ll see what parameter names they map things to. You can also change these names, add parameters, remove parameters, edit the list of example utterances, etc. What you don’t get is example fulfillment code - your on your own to do something useful with the intents Google has provided in these samples.

How to group API calls in API-Management's Developer Portal

In the API-Management's Developer Portal, we have the problem that all Operation (API) calls are listed in a long list, making it difficult for our customers to find out what calls that belong together. What we'd like is the possibility to group calls by something, i.e. the controller name. (In Swagger this can be done by using the tags field in the Swagger specification.)
In the templates section, there's an option Operation list (grouped), which, by the name of it, might be able to solve our problems. But how can I use this template?
I'm currently importing the API list using the OpenAPI specification.
Update 1:
This is what it looks like in a sample operation list for us. There's no search box available.
(grouped) template is used when user selects "Group by tags" option - rightmost button next to search field on APIs/operations list. Here is how it looks on UI:

i want to download or at least view all api.ai system entities

i want to download or atleast view all api.ai system entities
the purpose is to understand how they made entity like sys.number and sys.date
the problem i'm facing is that i'm using sys.date entity for my bot whihc works very fine for casual cases like "today" "tomorrow" detected as current date
but fails in special cases like: i want to add one more thing that when user say "aaj", "foran" or "abhi" so it also detect as current date, these are slang words for "today" used in a specific region
All API.AI system entities are listed here: https://api.ai/docs/reference/system-entities The values of those entities (which seems to be what you're asking for) are too large to be published (i.e. all cities).
If you wish to add additional entity values I'd recommend creating additional entities (like today or tomorrow) with the values you believe should be included (like aaj, foran or abhi) and handle them either in your webhook or with custom responses specifically using those entities in your response in API.AI.
If you haven't already you may want to check if API.AI supports the language you're trying to implement. You can check the language of your agent in your API.AI agent's settings (if is not the right language you can select the language you want when creating a new API.AI agent, a list of support languages is here: https://api.ai/docs/reference/language)

Edit Dynamic Values in Workflows

I am trying to retrieve and extract specific data from incoming emails in Microsoft Dynamics CRM to use them in workflows (for update records).
The only option i can find so far while working with workflows is to get the full subject or the full body of the email.
Is there a way to extract specific part of these two?
For example, how can i extract from the Subject the first 10 characters or how can i search the Subject or Body for specific characters or filter with REGEX?
I don't want to create a custom plugin, but the use of JavaScript would be great if it can be used to automatically get triggered without any user action.
Unfortunately, OOB workflow functionality does not allow you to manipulate the data within these fields. Javascript (in the context of CRM) is a client side scripting tool, so could not be run without user interaction.
I would suggest creating a Custom Workflow Activity that takes the subject and body values as parameters (from your original workflow). Then within the custom workflow you can perform string manipulation using common C# commands, and then return these values to the original workflow or update/create records within your custom workdflow.
The following URL gives a good example of creating a Custom Workflow Activity.
https://msdn.microsoft.com/en-gb/library/gg334455.aspx

Use EE Search Module to search custom fields

I'm sure this is something simple for which I just haven't found the documentation:
I have a website with a member directory. All of the member data is stored in a members channel, which uses a variety of custom fields – some of which are part of the P&T Field Pack.
I use a Safecracker form to enter the data, and it renders the custom fields beautifully:
What I want is essentially the same form, but have it perform a search, instead of enter the field data.
I've scoured the Search Module documentation, but can't find information on how to search individual fields, let alone how to render them. I've also searched the Safecracker documentation for how to configure it to search (the ideal solution).
How do I do this?
Any help would be appreciated.
Thanks!
ty
EE's search module won't do what you want - it's more of a general search tool, and its "Advanced search" form is less about custom fields and more about things like channels and categories.
You want to look at Solspace's Super Search. It's much more powerful, and will allow you to do exactly what you want in terms of your query - though you will have to build the form manually (i.e., you won't get the SafeCracker-style simplicity of using {field:field_name} to have your form fields output for you).
I would also recommend checking out SuperSearch.

Resources